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>
This commit is contained in:
parent
56731154a6
commit
8790b9a083
|
@ -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
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue