summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-11-27 02:19:02 -0600
committerMartin Roth <martinroth@google.com>2016-12-05 19:06:47 +0100
commitc12e5ae1a5d809a4b74774d28a1c231591400bd3 (patch)
tree0c74e22f3e1f75a34b96ddf90be0fba2702e2efa /src/mainboard/google/slippy/Kconfig
parentb5a74d6ca21139ddcb9a613f810338b6e97f27b9 (diff)
Add/Combine Haswell Chromebooks using variant board scheme
Combine existing boards google/falco and google/peppy with new ChromeOS devices leon and wolf, using their common reference board (slippy) as a base. Chromium sources used: firmware-falco_peppy-4389.81.B d7703cac [falco: Add support for Samsung...] firmware-leon-4389.61.B ea1bf55 [haswell: Enable 2x Refresh Mode] firmware-wolf-4389.24.B 7c5a9c2 [Wolf: haswell: Add small delay before...] Additionally, some minor cleanup/changes were made: - I2C devices set to use ACPI (vs PCI) mode - I2C device ACPI entries adjusted as per above - I2C devices set to use level (vs edge) interrupt triggering - XHCI finalization enabled in devicetree - HDA verb entries use simplified macro entry format Existing google/falco and google/peppy boards will be removed in a subsequent commit. Variant setup modeled after google/beltino Change-Id: I087df5f98c1bb4ddd0ab24ee9ff786a9d38d87be Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17621 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/slippy/Kconfig')
-rw-r--r--src/mainboard/google/slippy/Kconfig88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig
new file mode 100644
index 0000000000..045d6a8c0b
--- /dev/null
+++ b/src/mainboard/google/slippy/Kconfig
@@ -0,0 +1,88 @@
+config BOARD_GOOGLE_BASEBOARD_SLIPPY
+ def_bool n
+ select SYSTEM_TYPE_LAPTOP
+ select CPU_INTEL_HASWELL
+ select NORTHBRIDGE_INTEL_HASWELL
+ select SOUTHBRIDGE_INTEL_LYNXPOINT
+ select INTEL_LYNXPOINT_LP
+ select BOARD_ROMSIZE_KB_8192
+ select EC_GOOGLE_CHROMEEC
+ select HAVE_ACPI_TABLES
+ select HAVE_OPTION_TABLE
+ select HAVE_ACPI_RESUME
+ select HAVE_SMI_HANDLER
+ select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_NATIVE_VGA_INIT if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
+ select INTEL_DP if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
+ select INTEL_DDI if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
+ select INTEL_INT15
+
+if BOARD_GOOGLE_BASEBOARD_SLIPPY
+
+config CHROMEOS
+ select EC_GOOGLE_CHROMEEC_SWITCHES
+ select EC_SOFTWARE_SYNC
+ select LID_SWITCH
+ select MAINBOARD_DO_NATIVE_VGA_INIT if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
+ select VBOOT_VBNV_CMOS
+ select VIRTUAL_DEV_SWITCH
+
+config MAINBOARD_DIR
+ string
+ default google/slippy
+
+config VARIANT_DIR
+ string
+ default "falco" if BOARD_GOOGLE_FALCO
+ default "leon" if BOARD_GOOGLE_LEON
+ default "peppy" if BOARD_GOOGLE_PEPPY
+ default "wolf" if BOARD_GOOGLE_WOLF
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Falco" if BOARD_GOOGLE_FALCO
+ default "Leon" if BOARD_GOOGLE_LEON
+ default "Peppy" if BOARD_GOOGLE_PEPPY
+ default "Wolf" if BOARD_GOOGLE_WOLF
+
+config MAINBOARD_FAMILY
+ string
+ default "Google_Slippy"
+
+config GBB_HWID
+ string
+ depends on CHROMEOS
+ default "X86 FALCO TEST 0289" if BOARD_GOOGLE_FALCO
+ default "X86 LEON TEST 5181" if BOARD_GOOGLE_LEON
+ default "X86 PEPPY TEST 4211" if BOARD_GOOGLE_PEPPY
+ default "X86 WOLF TEST 6457" if BOARD_GOOGLE_WOLF
+
+config DEVICETREE
+ string
+ default "variants/falco/devicetree.cb" if BOARD_GOOGLE_FALCO
+ default "variants/leon/devicetree.cb" if BOARD_GOOGLE_LEON
+ default "variants/peppy/devicetree.cb" if BOARD_GOOGLE_PEPPY
+ default "variants/wolf/devicetree.cb" if BOARD_GOOGLE_WOLF
+
+config MMCONF_BASE_ADDRESS
+ hex
+ default 0xf0000000
+
+config MAX_CPUS
+ int
+ default 8
+
+config VGA_BIOS_FILE
+ string
+ default "pci8086,0406.rom"
+
+config HAVE_IFD_BIN
+ bool
+ default n
+
+config HAVE_ME_BIN
+ bool
+ default n
+
+endif # BOARD_GOOGLE_BASEBOARD_SLIPPY