summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2024-11-13 15:25:21 +0800
committerSubrata Banik <subratabanik@google.com>2024-11-18 02:56:38 +0000
commit0b759d7647a146c826314f49de4b6b84be26e354 (patch)
tree9a04a082fd9343cdc92f14276c208a930f7eaaed
parent2eaed7e26218ae9cc8150f3a41556e8ada482002 (diff)
mb/google/fatcat/var/francka: Configure Kconfig for francka
1. Select BOARD_GOOGLE_BASEBOARD_FATCAT for francka. 2. Set VARIANT_DIR to BOARD_GOOGLE_FRANCKA for francka. 3. Set TPM I2C bus to 0x01 for francka. BUG=b:377819511 TEST=emerge-fatcat coreboot Change-Id: I5890a1f02ef88c591973c71a2adb2bba889733e7 Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85115 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/fatcat/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig
index 04ea54de8e..8f939690b7 100644
--- a/src/mainboard/google/fatcat/Kconfig
+++ b/src/mainboard/google/fatcat/Kconfig
@@ -68,7 +68,7 @@ config BOARD_GOOGLE_FATCATITE
select BOARD_GOOGLE_MODEL_FATCAT
config BOARD_GOOGLE_FRANCKA
- select BOARD_GOOGLE_MODEL_FATCAT
+ select BOARD_GOOGLE_BASEBOARD_FATCAT
if BOARD_GOOGLE_FATCAT_COMMON
@@ -103,7 +103,8 @@ config DRIVER_TPM_I2C_ADDR
config DRIVER_TPM_I2C_BUS
hex
- default 0x03
+ default 0x03 if BOARD_GOOGLE_MODEL_FATCAT
+ default 0x01 if BOARD_GOOGLE_FRANCKA
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP
@@ -145,6 +146,7 @@ config USE_PM_ACPI_TIMER
config VARIANT_DIR
string
default "fatcat" if BOARD_GOOGLE_MODEL_FATCAT
+ default "francka" if BOARD_GOOGLE_FRANCKA
config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"