skylake: 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: Iafabb6373dfe16aaf0fe2cbc4e978952adeb403e
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15822
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Furquan Shaikh 2016-07-22 16:17:53 -07:00
parent 87b1bcc4af
commit 610a33a7f4
5 changed files with 9 additions and 28 deletions

View File

@ -20,14 +20,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOC_INTEL_SKYLAKE
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 VBOOT_EC_SLOW_UPDATE
select VBOOT_OPROM_MATTERS
select VIRTUAL_DEV_SWITCH
config DRIVERS_I2C_GENERIC
def_bool y

View File

@ -20,14 +20,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOC_INTEL_SKYLAKE
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 VBOOT_EC_SLOW_UPDATE
select VBOOT_OPROM_MATTERS
select VIRTUAL_DEV_SWITCH
config DRIVERS_I2C_GENERIC
def_bool y

View File

@ -21,14 +21,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOC_INTEL_SKYLAKE
config CHROMEOS
select CHROMEOS_RAMOOPS_DYNAMIC
select CHROMEOS_VBNV_CMOS
select CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH
select LID_SWITCH
select VBOOT_EC_SLOW_UPDATE
select VBOOT_OPROM_MATTERS
select VIRTUAL_DEV_SWITCH
select EC_SOFTWARE_SYNC
config DRIVERS_GENERIC_MAX98357A
default y

View File

@ -20,14 +20,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOC_INTEL_SKYLAKE
config CHROMEOS
select CHROMEOS_RAMOOPS_DYNAMIC
select CHROMEOS_VBNV_CMOS
select CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH
select LID_SWITCH
select VBOOT_EC_SLOW_UPDATE
select VBOOT_OPROM_MATTERS
select VIRTUAL_DEV_SWITCH
select EC_SOFTWARE_SYNC
config DRIVERS_GENERIC_MAX98357A
default y

View File

@ -51,6 +51,15 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_TSC
select USE_GENERIC_FSP_CAR_INC
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 VBOOT_EC_SLOW_UPDATE
select VBOOT_OPROM_MATTERS
select VIRTUAL_DEV_SWITCH
config BOOTBLOCK_CPU_INIT
string
default "soc/intel/skylake/bootblock/cpu.c"