summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-07-22 12:57:51 -0700
committerFurquan Shaikh <furquan@google.com>2016-07-25 18:55:01 +0200
commit87b1bcc4af5903f67251ed464170dcf7148b564b (patch)
treec8cb1f0aecb0c99394160090b85a8058ad8d180c /src
parentb1b465f093ae9037ae7cf0dc3a6edc46a862a8b9 (diff)
downloadcoreboot-87b1bcc4af5903f67251ed464170dcf7148b564b.tar.xz
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)
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/reef/Kconfig8
-rw-r--r--src/mainboard/intel/amenia/Kconfig4
-rw-r--r--src/soc/intel/apollolake/Kconfig10
3 files changed, 11 insertions, 11 deletions
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index 42019c79f6..5fafa8baf7 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -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
diff --git a/src/mainboard/intel/amenia/Kconfig b/src/mainboard/intel/amenia/Kconfig
index dd04a6f625..2a4189e041 100644
--- a/src/mainboard/intel/amenia/Kconfig
+++ b/src/mainboard/intel/amenia/Kconfig
@@ -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
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index d36fc064db..b013da15c2 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -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