summaryrefslogtreecommitdiff
path: root/src/mainboard/google/deltaur/Kconfig
diff options
context:
space:
mode:
authorBora Guvendik <bora.guvendik@intel.com>2020-03-09 18:20:07 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-03-30 08:43:09 +0000
commit3a1a037231ddb5cdc03d0e147c2335de0f1c8ad6 (patch)
tree9b1f982991edb60eac011f3824ebb4d4bcf244da /src/mainboard/google/deltaur/Kconfig
parent97bd2a7f33a784b63b8ede4efc23f39d4dfce37b (diff)
mb/google/deltaur: add deltaur mainboard initial support
Created a new Google baseboard using Tiger Lake named deltaur, taking volteer as a starting point. BUG=b:151102807 TEST=make build successful Signed-off-by: Bora Guvendik <bora.guvendik@intel.com> Change-Id: Ib98f328df22f39e7d9d625a3292954881ee15b15 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39502 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/deltaur/Kconfig')
-rw-r--r--src/mainboard/google/deltaur/Kconfig83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/mainboard/google/deltaur/Kconfig b/src/mainboard/google/deltaur/Kconfig
new file mode 100644
index 0000000000..dcbe5ecbad
--- /dev/null
+++ b/src/mainboard/google/deltaur/Kconfig
@@ -0,0 +1,83 @@
+config BOARD_GOOGLE_BASEBOARD_DELTAUR
+ def_bool n
+ select BOARD_ROMSIZE_KB_32768
+ select DRIVERS_I2C_GENERIC
+ select DRIVERS_INTEL_ISH
+ select DRIVERS_SPI_ACPI
+ select EC_GOOGLE_WILCO
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_I2C_TPM_CR50
+ select MAINBOARD_HAS_TPM2
+ select MAINBOARD_USES_IFD_EC_REGION
+ select SOC_INTEL_TIGERLAKE
+ select SYSTEM_TYPE_LAPTOP
+
+if BOARD_GOOGLE_BASEBOARD_DELTAUR
+
+config CHROMEOS
+ bool
+ default y
+ select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
+ select GBB_FLAG_FORCE_DEV_SWITCH_ON
+ select GBB_FLAG_FORCE_DEV_BOOT_USB
+ select GBB_FLAG_FORCE_DEV_BOOT_LEGACY
+
+config DIMM_SPD_SIZE
+ int
+ default 512
+
+config DEVICETREE
+ string
+ default "variants/baseboard/devicetree.cb"
+
+config DRIVER_TPM_I2C_BUS
+ hex
+ default 0x3
+
+config DRIVER_TPM_I2C_ADDR
+ hex
+ default 0x50
+
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config MAINBOARD_DIR
+ string
+ default "google/deltaur"
+
+config MAINBOARD_FAMILY
+ string
+ default "Google_Deltaur"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Deltan" if BOARD_GOOGLE_DELTAN
+ default "Deltaur" if BOARD_GOOGLE_DELTAUR
+
+config MAX_CPUS
+ int
+ default 8
+
+config TPM_TIS_ACPI_INTERRUPT
+ int
+ default 23 # GPE0_DW0_23 (GPP_C23)
+
+config UART_FOR_CONSOLE
+ int
+ default 2
+
+config VARIANT_DIR
+ string
+ default "deltan" if BOARD_GOOGLE_DELTAN
+ default "deltaur" if BOARD_GOOGLE_DELTAUR
+
+config VBOOT
+ select HAS_RECOVERY_MRC_CACHE
+ select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
+ select VBOOT_LID_SWITCH
+
+endif # BOARD_GOOGLE_BASEBOARD_DELTAUR