summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-01-12 12:19:21 -0600
committerMartin Roth <martinroth@google.com>2017-01-17 17:57:40 +0100
commitce0a56419854d8c2bd0fac401c76139106fc4dd8 (patch)
treea6c090fddb240f383de2ad65769a7017e2f530bf /src/mainboard/google/rambi/Kconfig
parente7dbeaeac3f9e37625a5b4cda04e67597972e4ee (diff)
downloadcoreboot-ce0a56419854d8c2bd0fac401c76139106fc4dd8.tar.xz
Combine Baytrail ChromeOS devices using variant scheme
Combine existing boards google/enguarde and google/ninja using their common reference board google/rambi as a baseboard. Variants contain board specific data: - DPTF ACPI components - I2C ACPI devices - RAM config / SPD data - devicetree config - GPIOs - board-specific HW components (e.g., LAN) Additionally, some minor cleanup/changes were made: - remove unused ACPI trackpad/touchscreen devices - correct I2C addresses in SMBIOS entries - clean up comment formatting - remove ACPI device for unused light sensor - switch I2C ACPI devices from edge to level triggered interrupts, for better compatibility/functionality (and to be consistent with other recently-upstreamed ChromeOS devices) The existing enguarde and ninja boards are removed. Variant setup modeled after google/auron Change-Id: Iae7855af9a224fd4cb948b854494e39b545ad449 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/18129 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/rambi/Kconfig')
-rw-r--r--src/mainboard/google/rambi/Kconfig47
1 files changed, 33 insertions, 14 deletions
diff --git a/src/mainboard/google/rambi/Kconfig b/src/mainboard/google/rambi/Kconfig
index 94354c9c92..a2bdc433ec 100644
--- a/src/mainboard/google/rambi/Kconfig
+++ b/src/mainboard/google/rambi/Kconfig
@@ -1,7 +1,6 @@
-if BOARD_GOOGLE_RAMBI
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_GOOGLE_BASEBOARD_RAMBI
+ def_bool n
select SOC_INTEL_BAYTRAIL
select EC_GOOGLE_CHROMEEC
select ENABLE_BUILTIN_COM1
@@ -12,6 +11,8 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_LPC_TPM
+if BOARD_GOOGLE_BASEBOARD_RAMBI
+
config CHROMEOS
select EC_GOOGLE_CHROMEEC_SWITCHES
select EC_SOFTWARE_SYNC
@@ -23,13 +24,39 @@ config MAINBOARD_DIR
string
default google/rambi
+config VARIANT_DIR
+ string
+ default "enguarde" if BOARD_GOOGLE_ENGUARDE
+ default "ninja" if BOARD_GOOGLE_NINJA
+ default "rambi" if BOARD_GOOGLE_RAMBI
+
config MAINBOARD_PART_NUMBER
string
- default "Rambi"
+ default "Enguarde" if BOARD_GOOGLE_ENGUARDE
+ default "Ninja" if BOARD_GOOGLE_NINJA
+ default "Rambi" if BOARD_GOOGLE_RAMBI
+
+config GBB_HWID
+ string
+ depends on CHROMEOS
+ default "ENGUARDE TEST A-A 0128" if BOARD_GOOGLE_ENGUARDE
+ default "NINJA TEST A-A 0653" if BOARD_GOOGLE_NINJA
+ default "RAMBI TEST A-A 0128" if BOARD_GOOGLE_RAMBI
+
+config DEVICETREE
+ string
+ default "variants/enguarde/devicetree.cb" if BOARD_GOOGLE_ENGUARDE
+ default "variants/ninja/devicetree.cb" if BOARD_GOOGLE_NINJA
+ default "variants/rambi/devicetree.cb" if BOARD_GOOGLE_RAMBI
+
+config EC_GOOGLE_CHROMEEC_BOARDNAME
+ string
+ default "rambi" if BOARD_GOOGLE_RAMBI
+ default ""
config VGA_BIOS_FILE
string
- default "pci8086,0166.rom"
+ default "pci8086,0f31.rom"
config HAVE_IFD_BIN
bool
@@ -39,12 +66,4 @@ config HAVE_ME_BIN
bool
default n
-config EC_GOOGLE_CHROMEEC_BOARDNAME
- string
- default "rambi"
-
-config GBB_HWID
- string
- depends on CHROMEOS
- default "RAMBI TEST A-A 0128"
-endif # BOARD_GOOGLE_RAMBI
+endif # BOARD_GOOGLE_BASEBOARD_RAMBI