summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-12-17 17:13:23 -0600
committerMartin Roth <martinroth@google.com>2016-12-22 18:37:35 +0100
commit0148fcb4e1d1c4e43cd21e7b28a65afd762daa6d (patch)
tree2d89da8657235d12119187671564b294ed07b83b /src/mainboard/google/jecht/Kconfig
parent6390e525fcbad63fbf4c0043ae248b24b9a9d0c6 (diff)
downloadcoreboot-0148fcb4e1d1c4e43cd21e7b28a65afd762daa6d.tar.xz
Combine Broadwell Chromeboxes using variant board scheme
Combine existing boards google/guado, rikku, and tidus using their common reference board google/jecht as a base. Additional changes besides simple consolidation include: - simplify power LED functions - simplify HDA verb definitions using azelia macros - use common SoC functions to generate FADT table - correct FADT table header version - remove unused haswell_pci_irqs.asl - remove unused header includes (various) - set sane default fan speed (0x4d) for all variants Variant setup modeled after google/beltino Change-Id: I77a2dffe9601734916a33fd04ead98016ad0bc4b Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17913 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/jecht/Kconfig')
-rw-r--r--src/mainboard/google/jecht/Kconfig36
1 files changed, 25 insertions, 11 deletions
diff --git a/src/mainboard/google/jecht/Kconfig b/src/mainboard/google/jecht/Kconfig
index 8a30a4d963..37dac7e40c 100644
--- a/src/mainboard/google/jecht/Kconfig
+++ b/src/mainboard/google/jecht/Kconfig
@@ -1,7 +1,5 @@
-if BOARD_GOOGLE_JECHT
-
-config BOARD_SPECIFIC_OPTIONS # dummy
- def_bool y
+config BOARD_GOOGLE_BASEBOARD_JECHT
+ def_bool n
select SOC_INTEL_BROADWELL
select BOARD_ROMSIZE_KB_8192
select SUPERIO_ITE_IT8772F
@@ -11,7 +9,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_SMI_HANDLER
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_LPC_TPM
- select INTEL_INT15
+
+if BOARD_GOOGLE_BASEBOARD_JECHT
config CHROMEOS
select CHROMEOS_RAMOOPS_DYNAMIC
@@ -23,9 +22,28 @@ config MAINBOARD_DIR
string
default google/jecht
+
+config VARIANT_DIR
+ string
+ default "guado" if BOARD_GOOGLE_GUADO
+ default "jecht" if BOARD_GOOGLE_JECHT
+ default "rikku" if BOARD_GOOGLE_RIKKU
+ default "tidus" if BOARD_GOOGLE_TIDUS
+
config MAINBOARD_PART_NUMBER
string
- default "Jecht"
+ default "Guado" if BOARD_GOOGLE_GUADO
+ default "Jecht" if BOARD_GOOGLE_JECHT
+ default "Rikku" if BOARD_GOOGLE_RIKKU
+ default "Tidus" if BOARD_GOOGLE_TIDUS
+
+config GBB_HWID
+ string
+ depends on CHROMEOS
+ default "GUADO TEST A-A 7416" if BOARD_GOOGLE_GUADO
+ default "JECHT TEST A-A 8958" if BOARD_GOOGLE_JECHT
+ default "RIKKU TEST A-A 0702" if BOARD_GOOGLE_RIKKU
+ default "TIDUS TEST A-A 0595" if BOARD_GOOGLE_TIDUS
config MAX_CPUS
int
@@ -33,7 +51,7 @@ config MAX_CPUS
config VGA_BIOS_FILE
string
- default "pci8086,0166.rom"
+ default "pci8086,0406.rom"
config HAVE_IFD_BIN
bool
@@ -43,8 +61,4 @@ config HAVE_ME_BIN
bool
default n
-config GBB_HWID
- string
- depends on CHROMEOS
- default "JECHT TEST A-A 8958"
endif