From 1d72afbd2a284da02208769bb4e74510908f8086 Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Thu, 24 Feb 2022 15:25:20 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62356 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/google/herobrine/Kconfig | 3 ++- src/mainboard/google/herobrine/Kconfig.name | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mainboard') 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')" -- cgit v1.2.3