1 config BOARD_GOOGLE_HEROBRINE_COMMON # Umbrella option to be selected by variants
4 if BOARD_GOOGLE_HEROBRINE_COMMON
6 config HEROBRINE_HAS_FINGERPRINT
8 default y if BOARD_GOOGLE_HEROBRINE || BOARD_GOOGLE_HEROBRINE_REV0
11 config BOARD_SPECIFIC_OPTIONS
13 select BOARD_ROMSIZE_KB_65536 if BOARD_GOOGLE_PIGLIN || BOARD_GOOGLE_HOGLIN
14 select BOARD_ROMSIZE_KB_8192 if !BOARD_GOOGLE_PIGLIN && !BOARD_GOOGLE_HOGLIN
15 select COMMON_CBFS_SPI_WRAPPER
16 select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_SENOR
17 select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_SENOR
18 select EC_GOOGLE_CHROMEEC_SKUID if !BOARD_GOOGLE_SENOR
19 select EC_GOOGLE_CHROMEEC_SPI if !BOARD_GOOGLE_SENOR
20 select RTC if !BOARD_GOOGLE_SENOR
21 select MISSING_BOARD_RESET if BOARD_GOOGLE_SENOR
22 select SOC_QUALCOMM_SC7280
24 select SPI_FLASH_EXIT_4_BYTE_ADDR_MODE
25 select SPI_FLASH_GIGADEVICE
26 select SPI_FLASH_MACRONIX
27 select SPI_FLASH_WINBOND
28 select TPM_GOOGLE_CR50 if !BOARD_GOOGLE_SENOR
29 select SPI_TPM if BOARD_GOOGLE_PIGLIN
30 select I2C_TPM if !BOARD_GOOGLE_PIGLIN && !BOARD_GOOGLE_SENOR
31 select MAINBOARD_HAS_CHROMEOS
32 select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_SENOR
35 select EC_GOOGLE_CHROMEEC_SWITCHES if !BOARD_GOOGLE_SENOR
36 select VBOOT_VBNV_FLASH
37 select VBOOT_NO_BOARD_SUPPORT if BOARD_GOOGLE_SENOR
38 select VBOOT_MOCK_SECDATA if BOARD_GOOGLE_SENOR
41 default "google/herobrine"
43 config MAINBOARD_VENDOR
48 ##########################################################
49 #### Update below when adding a new derivative board. ####
50 ##########################################################
52 config MAINBOARD_PART_NUMBER
53 default "Herobrine" if BOARD_GOOGLE_HEROBRINE
54 default "Herobrine.rev0" if BOARD_GOOGLE_HEROBRINE_REV0
55 default "Senor" if BOARD_GOOGLE_SENOR
56 default "Piglin" if BOARD_GOOGLE_PIGLIN
57 default "Hoglin" if BOARD_GOOGLE_HOGLIN
58 default "Villager" if BOARD_GOOGLE_VILLAGER
59 default "Evoker" if BOARD_GOOGLE_EVOKER
60 default "Zoglin" if BOARD_GOOGLE_ZOGLIN
61 default "Zombie" if BOARD_GOOGLE_ZOMBIE
63 config DRIVER_TPM_I2C_BUS
66 default 0xC if BOARD_GOOGLE_HEROBRINE_REV0
69 config DRIVER_TPM_I2C_ADDR
72 config DRIVER_TPM_SPI_BUS
77 config EC_GOOGLE_CHROMEEC_SPI_BUS
79 default 0x8 if BOARD_GOOGLE_HEROBRINE_REV0
82 endif # BOARD_GOOGLE_HEROBRINE_COMMON