1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_ASURADA_COMMON
4 def_bool BOARD_GOOGLE_ASURADA || \
5 BOARD_GOOGLE_HAYATO || \
8 if BOARD_GOOGLE_ASURADA_COMMON
10 config BOARD_SPECIFIC_OPTIONS
13 select SOC_MEDIATEK_MT8192
14 select BOARD_ROMSIZE_KB_8192
15 select MAINBOARD_HAS_CHROMEOS
16 select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS
17 select COMMON_CBFS_SPI_WRAPPER
19 select SPI_FLASH_INCLUDE_ALL_DRIVERS
20 select EC_GOOGLE_CHROMEEC
21 select EC_GOOGLE_CHROMEEC_BOARDID
22 select EC_GOOGLE_CHROMEEC_SPI
23 select SPI_TPM if VBOOT
24 select TPM_GOOGLE_CR50 if VBOOT
25 select MAINBOARD_HAS_TPM2 if VBOOT
26 select MAINBOARD_HAS_NATIVE_VGA_INIT
27 select MAINBOARD_FORCE_NATIVE_VGA_INIT
28 select HAVE_LINEAR_FRAMEBUFFER
29 select DRIVER_ANALOGIX_ANX7625
30 select COMMONLIB_STORAGE
31 select COMMONLIB_STORAGE_MMC
34 select EC_GOOGLE_CHROMEEC_SWITCHES
35 select VBOOT_VBNV_FLASH
38 default "google/asurada"
40 config MAINBOARD_PART_NUMBER
41 default "Asurada" if BOARD_GOOGLE_ASURADA
42 default "Hayato" if BOARD_GOOGLE_HAYATO
43 default "Spherion" if BOARD_GOOGLE_SPHERION
45 config DRIVER_TPM_SPI_BUS
49 # On MT8192 the SPI flash is actually using a SPI-NOR controller with its own bus.
50 # The number here should be a virtual value as (SPI_BUS_NUMBER + 1).
51 config BOOT_DEVICE_SPI_FLASH_BUS
55 config EC_GOOGLE_CHROMEEC_SPI_BUS
59 config CONSOLE_CBMEM_BUFFER_SIZE