reset: Convert individual boards to `board_reset()`
[coreboot.git] / src / mainboard / google / veyron / Kconfig
blobd57c1439063937b4b57b38e4172c63490aabfc32
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright 2014 Rockchip Inc.
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
16 config BOARD_GOOGLE_VEYRON # dummy option to be selected by variant boards
17         def_bool n
19 if BOARD_GOOGLE_VEYRON
21 # Some Veyron boards incorrectly had their RAM code strapped with 100Kohm
22 # resistors. These get overpowered by the SoC's internal pull-downs, so we
23 # cannot read those pins as tri-state. They're restricted to binary RAM codes.
24 config VEYRON_FORCE_BINARY_RAM_CODE
25         bool
26         default y if BOARD_GOOGLE_VEYRON_JAQ
27         default y if BOARD_GOOGLE_VEYRON_JERRY
28         default y if BOARD_GOOGLE_VEYRON_MIGHTY
29         default n
31 config BOARD_SPECIFIC_OPTIONS # dummy
32         def_bool y
33         select COMMON_CBFS_SPI_WRAPPER
34         select EC_GOOGLE_CHROMEEC
35         select EC_GOOGLE_CHROMEEC_SPI
36         select SOC_ROCKCHIP_RK3288
37         select MAINBOARD_HAS_CHROMEOS
38         select BOARD_ROMSIZE_KB_4096
39         select SPI_FLASH
40         select SPI_FLASH_GIGADEVICE
41         select SPI_FLASH_WINBOND
42         select MAINBOARD_HAS_I2C_TPM_GENERIC
43         select MAINBOARD_HAS_TPM1
45 config VBOOT
46         select VBOOT_VBNV_EC
48 config MAINBOARD_DIR
49         string
50         default google/veyron
52 config MAINBOARD_PART_NUMBER
53         string
54         default "Veyron_Jaq" if BOARD_GOOGLE_VEYRON_JAQ
55         default "Veyron_Jerry" if BOARD_GOOGLE_VEYRON_JERRY
56         default "Veyron_Mighty" if BOARD_GOOGLE_VEYRON_MIGHTY
57         default "Veyron_Minnie" if BOARD_GOOGLE_VEYRON_MINNIE
58         default "Veyron_Speedy" if BOARD_GOOGLE_VEYRON_SPEEDY
59         default "Veyron"
61 config MAINBOARD_VENDOR
62         string
63         default "Google"
65 config EC_GOOGLE_CHROMEEC_SPI_BUS
66         hex
67         default 0x0
69 config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
70         int
71         default 100
73 config BOOT_DEVICE_SPI_FLASH_BUS
74         int
75         default 2
77 config DRIVER_TPM_I2C_BUS
78         hex
79         default 0x1
81 config DRIVER_TPM_I2C_ADDR
82         hex
83         default 0x20
85 config CONSOLE_SERIAL_UART_ADDRESS
86         hex
87         depends on DRIVERS_UART
88         default 0xFF690000
90 config PMIC_BUS
91         int
92         default 0
94 config CBFS_SIZE
95         hex
96         default 0x100000 if CHROMEOS
97         default ROM_SIZE
99 config EC_GOOGLE_CHROMEEC_BOARDNAME
100         string
101         depends on CHROMEOS
102         #default "jaq" if BOARD_GOOGLE_VEYRON_JAQ
103         default "jerry" if BOARD_GOOGLE_VEYRON_JERRY
104         #default "mighty" if BOARD_GOOGLE_VEYRON_MIGHTY
105         #default "minnie" if BOARD_GOOGLE_VEYRON_MINNIE
106         #default "speedy" if BOARD_GOOGLE_VEYRON_SPEEDY
108 config GBB_HWID
109         string
110         depends on CHROMEOS
111         default "JAQ TEST A-A 8292" if BOARD_GOOGLE_VEYRON_JAQ
112         default "JERRY TEST A-A 1250" if BOARD_GOOGLE_VEYRON_JERRY
113         default "MIGHTY TEST A-A 4557" if BOARD_GOOGLE_VEYRON_MIGHTY
114         default "MINNIE TEST A-A 5151" if BOARD_GOOGLE_VEYRON_MINNIE
115         default "SPEEDY TEST A-A 8421" if BOARD_GOOGLE_VEYRON_SPEEDY
117 endif #  BOARD_GOOGLE_VEYRON