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:
Furquan Shaikh 2016-07-22 12:57:51 -07:00
parent b1b465f093
commit 87b1bcc4af
3 changed files with 11 additions and 11 deletions

View File

@ -17,15 +17,7 @@ config BOOT_MEDIA_SPI_BUS
default 0 default 0
config CHROMEOS 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 LID_SWITCH
select SEPARATE_VERSTAGE
select VBOOT_OPROM_MATTERS
select VBOOT_STARTS_IN_BOOTBLOCK
select VIRTUAL_DEV_SWITCH
config DRIVERS_I2C_DA7219 config DRIVERS_I2C_DA7219
default y default y

View File

@ -16,9 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
select TPM_ON_FAST_SPI select TPM_ON_FAST_SPI
config CHROMEOS config CHROMEOS
bool select LID_SWITCH
default y
select VIRTUAL_DEV_SWITCH
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -57,6 +57,16 @@ config CPU_SPECIFIC_OPTIONS
select SOC_INTEL_COMMON_GFX_OPREGION select SOC_INTEL_COMMON_GFX_OPREGION
select ADD_VBT_DATA_FILE 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 config TPM_ON_FAST_SPI
bool bool
default n default n