1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_CORSOLA_COMMON
4 def_bool BOARD_GOOGLE_KINGLER_COMMON || \
5 BOARD_GOOGLE_KRABBY_COMMON || \
6 BOARD_GOOGLE_STARYU_COMMON
8 config BOARD_GOOGLE_KINGLER_COMMON
9 def_bool BOARD_GOOGLE_KINGLER || \
10 BOARD_GOOGLE_KYOGRE || \
11 BOARD_GOOGLE_PONYTA || \
12 BOARD_GOOGLE_SQUIRTLE || \
13 BOARD_GOOGLE_STEELIX || \
16 config BOARD_GOOGLE_KRABBY_COMMON
17 def_bool BOARD_GOOGLE_CHINCHOU || \
18 BOARD_GOOGLE_KRABBY || \
19 BOARD_GOOGLE_MAGIKARP || \
20 BOARD_GOOGLE_SKITTY || \
21 BOARD_GOOGLE_TENTACRUEL || \
24 config BOARD_GOOGLE_STARYU_COMMON
25 def_bool BOARD_GOOGLE_STARMIE || \
28 if BOARD_GOOGLE_CORSOLA_COMMON
30 config CORSOLA_SDCARD_INIT
31 def_bool BOARD_GOOGLE_KINGLER_COMMON || \
32 BOARD_GOOGLE_MAGIKARP || \
33 BOARD_GOOGLE_TENTACRUEL || \
36 config BOARD_SPECIFIC_OPTIONS
38 select SOC_MEDIATEK_MT8186
39 select BOARD_ROMSIZE_KB_8192
40 select MAINBOARD_HAS_CHROMEOS
41 select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS
42 select COMMON_CBFS_SPI_WRAPPER
44 select SPI_FLASH_INCLUDE_ALL_DRIVERS
45 select COMMONLIB_STORAGE
46 select COMMONLIB_STORAGE_MMC
47 select EC_GOOGLE_CHROMEEC
48 select EC_GOOGLE_CHROMEEC_BOARDID
49 select EC_GOOGLE_CHROMEEC_SKUID
50 select EC_GOOGLE_CHROMEEC_SPI
51 select SPI_TPM if VBOOT
52 select TPM_GOOGLE_TI50 if VBOOT
53 select MAINBOARD_HAS_TPM2 if VBOOT
54 select MAINBOARD_HAS_NATIVE_VGA_INIT
55 select HAVE_LINEAR_FRAMEBUFFER
56 select DRIVER_ANALOGIX_ANX7625 if BOARD_GOOGLE_CHINCHOU || \
57 BOARD_GOOGLE_KINGLER || \
58 BOARD_GOOGLE_KYOGRE || \
59 BOARD_GOOGLE_PONYTA || \
60 BOARD_GOOGLE_SQUIRTLE || \
61 BOARD_GOOGLE_STEELIX || \
63 select DRIVER_PARADE_PS8640 if BOARD_GOOGLE_KRABBY || \
64 BOARD_GOOGLE_MAGIKARP || \
65 BOARD_GOOGLE_SKITTY || \
66 BOARD_GOOGLE_STEELIX || \
67 BOARD_GOOGLE_TENTACRUEL || \
71 select FW_CONFIG_SOURCE_CHROMEEC_CBI
72 select MIPI_PANEL_KD_KD101NE3_40TI if BOARD_GOOGLE_WUGTRIO
73 select MIPI_PANEL_LCE_LMFBX101117480 if BOARD_GOOGLE_WUGTRIO
74 select MIPI_PANEL_STA_ER88577 if BOARD_GOOGLE_WUGTRIO
75 select MIPI_PANEL_STA_HIMAX83102_J02 if BOARD_GOOGLE_STARMIE
76 select MIPI_PANEL_STA_ILI9882T if BOARD_GOOGLE_STARMIE
79 select EC_GOOGLE_CHROMEEC_SWITCHES
80 select VBOOT_VBNV_FLASH
84 default "google/corsola"
86 config MAINBOARD_PART_NUMBER
88 default "Chinchou" if BOARD_GOOGLE_CHINCHOU
89 default "Kingler" if BOARD_GOOGLE_KINGLER
90 default "Krabby" if BOARD_GOOGLE_KRABBY
91 default "Kyogre" if BOARD_GOOGLE_KYOGRE
92 default "Magikarp" if BOARD_GOOGLE_MAGIKARP
93 default "Ponyta" if BOARD_GOOGLE_PONYTA
94 default "Skitty" if BOARD_GOOGLE_SKITTY
95 default "Squirtle" if BOARD_GOOGLE_SQUIRTLE
96 default "Starmie" if BOARD_GOOGLE_STARMIE
97 default "Steelix" if BOARD_GOOGLE_STEELIX
98 default "Tentacruel" if BOARD_GOOGLE_TENTACRUEL
99 default "Veluza" if BOARD_GOOGLE_VELUZA
100 default "Voltorb" if BOARD_GOOGLE_VOLTORB
101 default "Wugtrio" if BOARD_GOOGLE_WUGTRIO
103 config BOOT_DEVICE_SPI_FLASH_BUS
107 config DRIVER_TPM_SPI_BUS
111 config EC_GOOGLE_CHROMEEC_SPI_BUS