x86: sysreset: Allow reset driver to be included in SPL/TPL

At present this driver is always included in SPL and TPL, if U-Boot proper
enables it. Update the Makefile to provide full control using the existing
Kconfig options.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: make the Kconfig help text a little bit clearer]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass
2019-09-25 08:11:24 -06:00
committed by Bin Meng
parent 8e83b76df4
commit ff7abb85a4
2 changed files with 13 additions and 1 deletions

View File

@@ -107,6 +107,18 @@ config SYSRESET_X86
help
Reboot support for generic x86 processor reset.
config SYSRESET_SPL_X86
bool "Enable support for x86 processor reboot driver in SPL"
depends on X86
help
Reboot support for generic x86 processor reset in SPL.
config SYSRESET_TPL_X86
bool "Enable support for x86 processor reboot driver in TPL"
depends on X86
help
Reboot support for generic x86 processor reset in TPL.
config SYSRESET_MCP83XX
bool "Enable support MPC83xx SoC family reboot driver"
help