summaryrefslogtreecommitdiff
path: root/src/mainboard/google/herobrine/Kconfig
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2021-06-24 15:23:26 -0700
committerShelley Chen <shchen@google.com>2021-06-29 16:37:35 +0000
commit8790b9a0830ed38c9f2766309f2d415dbff72a63 (patch)
tree6eff9e703108911c04c50df632801b8a2418278d /src/mainboard/google/herobrine/Kconfig
parent56731154a6095eb04d1e0d153bff535479a05f88 (diff)
mb/google/herobrine: Add Senor and Piglin variants
Add configs for Herobrine variants. Also enable ec sw sync as this should not be disabled by default. BUG=b:182963902 BRANCH=None TEST=./util/abuild/abuild -p none -t GOOGLE_SENOR -x -a -B ./util/abuild/abuild -p none -t GOOGLE_PIGLIN -x -a -B Change-Id: Ide4e375aa0236dce65a954a2f68455d05fa841eb Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55829 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/herobrine/Kconfig')
-rw-r--r--src/mainboard/google/herobrine/Kconfig19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/mainboard/google/herobrine/Kconfig b/src/mainboard/google/herobrine/Kconfig
index 01212d6c87..7f88b94f5c 100644
--- a/src/mainboard/google/herobrine/Kconfig
+++ b/src/mainboard/google/herobrine/Kconfig
@@ -7,21 +7,24 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_8192
select COMMON_CBFS_SPI_WRAPPER
- select EC_GOOGLE_CHROMEEC
- select EC_GOOGLE_CHROMEEC_RTC
- select EC_GOOGLE_CHROMEEC_SPI
- select RTC
+ select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_SENOR
+ select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_SENOR
+ select EC_GOOGLE_CHROMEEC_SPI if !BOARD_GOOGLE_SENOR
+ select RTC if !BOARD_GOOGLE_SENOR
+ select MISSING_BOARD_RESET if BOARD_GOOGLE_SENOR
select SOC_QUALCOMM_SC7280
select SPI_FLASH
select SPI_FLASH_WINBOND
select SPI_FLASH_MACRONIX
select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_SPI_TPM_CR50 if !BOARD_GOOGLE_SENOR
+ select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_SENOR
config VBOOT
- select EC_GOOGLE_CHROMEEC_SWITCHES
+ select EC_GOOGLE_CHROMEEC_SWITCHES if !BOARD_GOOGLE_SENOR
select VBOOT_VBNV_FLASH
- select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
- select VBOOT_MOCK_SECDATA
+ select VBOOT_NO_BOARD_SUPPORT if BOARD_GOOGLE_SENOR
+ select VBOOT_MOCK_SECDATA if BOARD_GOOGLE_SENOR
config MAINBOARD_DIR
string
@@ -39,5 +42,7 @@ config MAINBOARD_VENDOR
config MAINBOARD_PART_NUMBER
string
default "Herobrine" if BOARD_GOOGLE_HEROBRINE
+ default "Senor" if BOARD_GOOGLE_SENOR
+ default "Piglin" if BOARD_GOOGLE_PIGLIN
endif # BOARD_GOOGLE_HEROBRINE_COMMON