summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/Kconfig
diff options
context:
space:
mode:
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