x86: coreboot: kconfig: Imply drivers that are useful
authorBin Meng <bmeng.cn@gmail.com>
Sun, 30 Jul 2017 13:23:20 +0000 (06:23 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
U-Boot as coreboot payload can run on any x86 hardware ideally.
Let's imply some common drivers that are useful.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/coreboot/Kconfig
configs/coreboot-x86_defconfig

index 982065193157dc02a204811821deb680b1ded1eb..31fe17bb9bca285836fc9923cf0dbade2c66e326 100644 (file)
@@ -3,6 +3,16 @@ if TARGET_COREBOOT
 config SYS_COREBOOT
        bool
        default y
+       imply ENV_IS_NOWHERE
+       imply E1000
+       imply ICH_SPI
+       imply MMC
+       imply MMC_PCI
+       imply MMC_SDHCI
+       imply MMC_SDHCI_SDMA
+       imply SPI_FLASH
+       imply SYS_NS16550
+       imply VIDEO_COREBOOT
        imply CMD_CBFS
        imply FS_CBFS
 
index 68406ba4854999ca599185103e06f5e38481cd0c..ef5d75b7cc0e51c309265db906a3d5d4461c0fba 100644 (file)
@@ -4,7 +4,6 @@ CONFIG_TARGET_COREBOOT=y
 CONFIG_FIT=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
-CONFIG_ENV_IS_NOWHERE=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
@@ -32,15 +31,11 @@ CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
-CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_E1000=y
-CONFIG_SYS_NS16550=y
 CONFIG_TPM_TIS_LPC=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_VIDEO_COREBOOT=y
 CONFIG_CONSOLE_SCROLL_LINES=5
 CONFIG_TPM=y