mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / google / oak / Kconfig
blob07c22d4f73e9197a6e429420a005291e6c9d82bb
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_OAK_COMMON
4         def_bool BOARD_GOOGLE_ELM || \
5                  BOARD_GOOGLE_HANA || \
6                  BOARD_GOOGLE_OAK
8 if BOARD_GOOGLE_OAK_COMMON
10 config BOARD_SPECIFIC_OPTIONS
11         def_bool y
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
18         select I2C_TPM
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
24         select SPI_FLASH
26 config VBOOT
27         select EC_GOOGLE_CHROMEEC_SWITCHES
28         select VBOOT_VBNV_FLASH
30 config MAINBOARD_DIR
31         default "google/oak"
33 config EC_GOOGLE_CHROMEEC_SPI_BUS
34         hex
35         default 0x0
37 config DRIVER_TPM_I2C_BUS
38         hex
39         default 0x2
41 config DRIVER_TPM_I2C_ADDR
42         hex
43         default 0x20
45 config BOOT_DEVICE_SPI_FLASH_BUS
46         int
47         default 9
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
59         int
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