x86: sysreset: Allow reset driver to be included in SPL/TPL
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:24 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:51:04 +0000 (13:51 +0800)
commitff7abb85a43d501d29c43549eb3dceae25e00f10
tree7e3e345805eb359e5c4b58281c1dd10dea67480e
parent8e83b76df41f2a7c36adae7af7aa40a0b1ab36a1
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>
drivers/sysreset/Kconfig
drivers/sysreset/Makefile