aboutsummaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-04-25 21:58:45 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-05-08 13:02:11 +0800
commit9898790247040772e068f1ef9ac8a16c01d197ac (patch)
treea7aba9b36d8389cb6e0be7b2b4e87f253d51c334 /arch/Kconfig
parent20d97f33f02c4239569f61794cef4a970b2280ed (diff)
downloadu-boot-9898790247040772e068f1ef9ac8a16c01d197ac.zip
u-boot-9898790247040772e068f1ef9ac8a16c01d197ac.tar.gz
u-boot-9898790247040772e068f1ef9ac8a16c01d197ac.tar.bz2
x86: Support SPL and TPL
At present only chromebook_link64 supports SPL. It is useful to eb able to support both TPL and SPL to implement verified boot on x86. Enable the options for both along with some suitable default options needed to boot through these phases. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 760023b..2914567 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -126,6 +126,8 @@ config SH
config X86
bool "x86 architecture"
+ select SUPPORT_SPL
+ select SUPPORT_TPL
select CREATE_ARCH_SYMLINK
select DM
select DM_PCI
@@ -164,6 +166,35 @@ config X86
imply USB_HOST_ETHER
imply PCH
+ # Thing to enable for when SPL/TPL are enabled: SPL
+ imply SPL_DM
+ imply SPL_OF_LIBFDT
+ imply SPL_DRIVERS_MISC_SUPPORT
+ imply SPL_GPIO_SUPPORT
+ imply SPL_LIBCOMMON_SUPPORT
+ imply SPL_LIBGENERIC_SUPPORT
+ imply SPL_SERIAL_SUPPORT
+ imply SPL_SPI_FLASH_SUPPORT
+ imply SPL_SPI_SUPPORT
+ imply SPL_OF_CONTROL
+ imply SPL_TIMER
+ imply SPL_REGMAP
+ imply SPL_SYSCON
+ # TPL
+ imply TPL_DM
+ imply TPL_OF_LIBFDT
+ imply TPL_DRIVERS_MISC_SUPPORT
+ imply TPL_GPIO_SUPPORT
+ imply TPL_LIBCOMMON_SUPPORT
+ imply TPL_LIBGENERIC_SUPPORT
+ imply TPL_SERIAL_SUPPORT
+ imply TPL_SPI_FLASH_SUPPORT
+ imply TPL_SPI_SUPPORT
+ imply TPL_OF_CONTROL
+ imply TPL_TIMER
+ imply TPL_REGMAP
+ imply TPL_SYSCON
+
config XTENSA
bool "Xtensa architecture"
select CREATE_ARCH_SYMLINK