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