1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_VEYRON
4 def_bool BOARD_GOOGLE_VEYRON_JAQ || \
5 BOARD_GOOGLE_VEYRON_JERRY || \
6 BOARD_GOOGLE_VEYRON_MIGHTY || \
7 BOARD_GOOGLE_VEYRON_MINNIE || \
8 BOARD_GOOGLE_VEYRON_SPEEDY
10 if BOARD_GOOGLE_VEYRON
12 # Some Veyron boards incorrectly had their RAM code strapped with 100Kohm
13 # resistors. These get overpowered by the SoC's internal pull-downs, so we
14 # cannot read those pins as tri-state. They're restricted to binary RAM codes.
15 config VEYRON_FORCE_BINARY_RAM_CODE
16 def_bool BOARD_GOOGLE_VEYRON_JAQ || \
17 BOARD_GOOGLE_VEYRON_JERRY || \
18 BOARD_GOOGLE_VEYRON_MIGHTY
20 config BOARD_SPECIFIC_OPTIONS
22 select COMMON_CBFS_SPI_WRAPPER
23 select EC_GOOGLE_CHROMEEC
24 select EC_GOOGLE_CHROMEEC_SPI
25 select SOC_ROCKCHIP_RK3288
26 select MAINBOARD_HAS_CHROMEOS
27 select BOARD_ROMSIZE_KB_4096
29 select SPI_FLASH_GIGADEVICE
30 select SPI_FLASH_WINBOND
32 select MAINBOARD_HAS_TPM1
33 select SYSTEM_TYPE_LAPTOP
36 select VBOOT_VBNV_FLASH
39 default "google/veyron"
41 config MAINBOARD_PART_NUMBER
42 default "Veyron_Jaq" if BOARD_GOOGLE_VEYRON_JAQ
43 default "Veyron_Jerry" if BOARD_GOOGLE_VEYRON_JERRY
44 default "Veyron_Mighty" if BOARD_GOOGLE_VEYRON_MIGHTY
45 default "Veyron_Minnie" if BOARD_GOOGLE_VEYRON_MINNIE
46 default "Veyron_Speedy" if BOARD_GOOGLE_VEYRON_SPEEDY
49 config EC_GOOGLE_CHROMEEC_SPI_BUS
53 config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
57 config BOOT_DEVICE_SPI_FLASH_BUS
61 config DRIVER_TPM_I2C_BUS
65 config DRIVER_TPM_I2C_ADDR
69 config CONSOLE_SERIAL_UART_ADDRESS
71 depends on DRIVERS_UART
79 default 0x100000 if CHROMEOS
82 endif # BOARD_GOOGLE_VEYRON