summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/herobrine/Kconfig19
-rw-r--r--src/mainboard/google/herobrine/Kconfig.name8
-rw-r--r--src/mainboard/google/herobrine/Makefile.inc3
3 files changed, 22 insertions, 8 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
diff --git a/src/mainboard/google/herobrine/Kconfig.name b/src/mainboard/google/herobrine/Kconfig.name
index 51d102ac35..ed2ce5c3f7 100644
--- a/src/mainboard/google/herobrine/Kconfig.name
+++ b/src/mainboard/google/herobrine/Kconfig.name
@@ -6,6 +6,14 @@ config BOARD_GOOGLE_HEROBRINE
bool "-> Herobrine"
select BOARD_GOOGLE_HEROBRINE_COMMON
+config BOARD_GOOGLE_SENOR
+ bool "-> Senor"
+ select BOARD_GOOGLE_HEROBRINE_COMMON
+
+config BOARD_GOOGLE_PIGLIN
+ bool "-> Piglin"
+ select BOARD_GOOGLE_HEROBRINE_COMMON
+
endif
comment "(Herobrine requires 'Allow QC blobs repository')"
diff --git a/src/mainboard/google/herobrine/Makefile.inc b/src/mainboard/google/herobrine/Makefile.inc
index 553634c29c..11a396ff04 100644
--- a/src/mainboard/google/herobrine/Makefile.inc
+++ b/src/mainboard/google/herobrine/Makefile.inc
@@ -2,8 +2,9 @@
all-y += boardid.c
all-y += chromeos.c
+ifneq ($(CONFIG_BOARD_GOOGLE_SENOR),y)
all-y += reset.c
-
+endif
bootblock-y += bootblock.c
romstage-y += romstage.c