summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2022-02-24 15:25:20 -0800
committerShelley Chen <shchen@google.com>2022-02-25 07:01:48 +0000
commit1d72afbd2a284da02208769bb4e74510908f8086 (patch)
tree8c889ce6c5d5414e5eee85c788bbd58b3391be01
parentd2873756a72e5ace466b97d23bd1fae9beb564ad (diff)
herobrine: Add Villager variant
BUG=b:218415722 BRANCH=None TEST=./util/abuild/abuild -p none -t GOOGLE_VILLAGER -x -a -B Change-Id: I84935ea280023cb0df1dd51fcd2a83d80db17710 Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/mainboard/google/herobrine/Kconfig3
-rw-r--r--src/mainboard/google/herobrine/Kconfig.name3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/herobrine/Kconfig b/src/mainboard/google/herobrine/Kconfig
index cd914ae69a..bf66bbc46f 100644
--- a/src/mainboard/google/herobrine/Kconfig
+++ b/src/mainboard/google/herobrine/Kconfig
@@ -27,7 +27,7 @@ config BOARD_SPECIFIC_OPTIONS
select SPI_FLASH_WINBOND
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_SPI_TPM_CR50 if BOARD_GOOGLE_PIGLIN
- select MAINBOARD_HAS_I2C_TPM_CR50 if BOARD_GOOGLE_HEROBRINE_REV0 || BOARD_GOOGLE_HEROBRINE || BOARD_GOOGLE_HOGLIN
+ select MAINBOARD_HAS_I2C_TPM_CR50 if !BOARD_GOOGLE_PIGLIN && !BOARD_GOOGLE_SENOR
select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_SENOR
config VBOOT
@@ -54,6 +54,7 @@ config MAINBOARD_PART_NUMBER
default "Senor" if BOARD_GOOGLE_SENOR
default "Piglin" if BOARD_GOOGLE_PIGLIN
default "Hoglin" if BOARD_GOOGLE_HOGLIN
+ default "Villager" if BOARD_GOOGLE_VILLAGER
config DRIVER_TPM_I2C_BUS
depends on MAINBOARD_HAS_I2C_TPM_CR50
diff --git a/src/mainboard/google/herobrine/Kconfig.name b/src/mainboard/google/herobrine/Kconfig.name
index 4eb1130e6e..063e669c53 100644
--- a/src/mainboard/google/herobrine/Kconfig.name
+++ b/src/mainboard/google/herobrine/Kconfig.name
@@ -22,6 +22,9 @@ config BOARD_GOOGLE_HOGLIN
bool "-> Hoglin"
select BOARD_GOOGLE_HEROBRINE_COMMON
+config BOARD_GOOGLE_VILLAGER
+ bool "-> Villager"
+ select BOARD_GOOGLE_HEROBRINE_COMMON
endif
comment "(Herobrine requires 'Allow QC blobs repository')"