1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_OAK_COMMON
4 def_bool BOARD_GOOGLE_ELM || \
8 if BOARD_GOOGLE_OAK_COMMON
10 config BOARD_SPECIFIC_OPTIONS
12 select SOC_MEDIATEK_MT8173
13 select BOARD_ROMSIZE_KB_4096
14 select COMMON_CBFS_SPI_WRAPPER
15 select DRIVER_PARADE_PS8640
16 select EC_GOOGLE_CHROMEEC
17 select EC_GOOGLE_CHROMEEC_SPI
19 select MAINBOARD_HAS_TPM1
20 select MAINBOARD_HAS_NATIVE_VGA_INIT
21 select MAINBOARD_FORCE_NATIVE_VGA_INIT
22 select HAVE_LINEAR_FRAMEBUFFER
23 select MAINBOARD_HAS_CHROMEOS
27 select EC_GOOGLE_CHROMEEC_SWITCHES
28 select VBOOT_VBNV_FLASH
33 config EC_GOOGLE_CHROMEEC_SPI_BUS
37 config DRIVER_TPM_I2C_BUS
41 config DRIVER_TPM_I2C_ADDR
45 config BOOT_DEVICE_SPI_FLASH_BUS
49 ##########################################################
50 #### Update below when adding a new derivative board. ####
51 ##########################################################
52 config MAINBOARD_PART_NUMBER
53 default "Oak" if BOARD_GOOGLE_OAK
54 default "Elm" if BOARD_GOOGLE_ELM
55 default "Hana" if BOARD_GOOGLE_HANA
57 # All Oak-derivatives count their board IDs as 0 being equivalent to Oak rev6.
58 config BOARD_ID_ADJUSTMENT
60 default 0 if BOARD_GOOGLE_OAK
61 default 7 if BOARD_GOOGLE_ELM
62 default 11 if BOARD_GOOGLE_HANA
64 endif # BOARD_GOOGLE_OAK