apollolake: Move CHROMEOS config to SoC
All the mainboards share the same config options for CHROMEOS. Instead of duplicating those in every mainboard, move the CHROMEOS config to SoC and make it dependent on MAINBOARD_HAS_CHROMEOS. BUG=chrome-os-partner:55431 Change-Id: I2d54ff6beac9fca7596a8f104e3c1447cada5c05 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15821 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
b1b465f093
commit
87b1bcc4af
|
@ -17,15 +17,7 @@ config BOOT_MEDIA_SPI_BUS
|
|||
default 0
|
||||
|
||||
config CHROMEOS
|
||||
select CHROMEOS_RAMOOPS_DYNAMIC
|
||||
select CHROMEOS_VBNV_CMOS
|
||||
select CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH
|
||||
select EC_SOFTWARE_SYNC
|
||||
select LID_SWITCH
|
||||
select SEPARATE_VERSTAGE
|
||||
select VBOOT_OPROM_MATTERS
|
||||
select VBOOT_STARTS_IN_BOOTBLOCK
|
||||
select VIRTUAL_DEV_SWITCH
|
||||
|
||||
config DRIVERS_I2C_DA7219
|
||||
default y
|
||||
|
|
|
@ -16,9 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select TPM_ON_FAST_SPI
|
||||
|
||||
config CHROMEOS
|
||||
bool
|
||||
default y
|
||||
select VIRTUAL_DEV_SWITCH
|
||||
select LID_SWITCH
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
|
|
|
@ -57,6 +57,16 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select SOC_INTEL_COMMON_GFX_OPREGION
|
||||
select ADD_VBT_DATA_FILE
|
||||
|
||||
config CHROMEOS
|
||||
select CHROMEOS_RAMOOPS_DYNAMIC
|
||||
select CHROMEOS_VBNV_CMOS
|
||||
select CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH
|
||||
select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC
|
||||
select SEPARATE_VERSTAGE
|
||||
select VBOOT_OPROM_MATTERS
|
||||
select VBOOT_STARTS_IN_BOOTBLOCK
|
||||
select VIRTUAL_DEV_SWITCH
|
||||
|
||||
config TPM_ON_FAST_SPI
|
||||
bool
|
||||
default n
|
||||
|
|
Loading…
Reference in New Issue