blob: c474bd652f5f045c72b3c5bf78e541f27549e2b4 [file] [log] [blame]
huang lin346ea772014-12-08 10:34:27 +08001##
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.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010017## Foundation, Inc.
huang lin346ea772014-12-08 10:34:27 +080018##
19
Julius Wernerdd07ef22015-08-28 14:34:09 -070020config BOARD_GOOGLE_VEYRON # dummy option to be selected by variant boards
21 def_bool n
22
23if BOARD_GOOGLE_VEYRON
huang lin346ea772014-12-08 10:34:27 +080024
25config BOARD_SPECIFIC_OPTIONS # dummy
26 def_bool y
Stefan Reinauer82c706e2015-03-30 12:20:55 -070027 select BOARD_ID_AUTO
David Hendricks3cbf02c2014-12-15 16:15:23 -080028 select COMMON_CBFS_SPI_WRAPPER
huang lin346ea772014-12-08 10:34:27 +080029 select EC_GOOGLE_CHROMEEC
30 select EC_GOOGLE_CHROMEEC_SPI
huang lin346ea772014-12-08 10:34:27 +080031 select RAM_CODE_SUPPORT
32 select SOC_ROCKCHIP_RK3288
Martin Rothc0c115b2015-08-21 14:37:02 -060033 select MAINBOARD_HAS_NATIVE_VGA_INIT
huang lin346ea772014-12-08 10:34:27 +080034 select MAINBOARD_DO_NATIVE_VGA_INIT
35 select MAINBOARD_HAS_CHROMEOS
Julius Wernerdd07ef22015-08-28 14:34:09 -070036 select BOARD_ROMSIZE_KB_4096
huang lin346ea772014-12-08 10:34:27 +080037 select HAVE_HARD_RESET
David Hendricks3cbf02c2014-12-15 16:15:23 -080038 select SPI_FLASH
39 select SPI_FLASH_GIGADEVICE
Julius Wernerb7641cc2014-12-19 12:41:16 -080040 select SPI_FLASH_WINBOND
huang lin346ea772014-12-08 10:34:27 +080041
Martin Roth967cd9a2015-08-18 14:22:58 -060042config CHROMEOS
43 select CHROMEOS_VBNV_EC
44 select EC_SOFTWARE_SYNC
Martin Roth8c12d6e2015-08-24 15:55:29 -060045 select VIRTUAL_DEV_SWITCH
Martin Roth967cd9a2015-08-18 14:22:58 -060046
huang lin346ea772014-12-08 10:34:27 +080047config MAINBOARD_DIR
48 string
Julius Wernerdd07ef22015-08-28 14:34:09 -070049 default google/veyron
huang lin346ea772014-12-08 10:34:27 +080050
51config MAINBOARD_PART_NUMBER
52 string
Julius Wernerdd07ef22015-08-28 14:34:09 -070053 default "Veyron"
huang lin346ea772014-12-08 10:34:27 +080054
55config MAINBOARD_VENDOR
56 string
57 default "Google"
58
59config EC_GOOGLE_CHROMEEC_SPI_BUS
60 hex
61 default 0
62
63config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
64 int
65 default 100
66
huang lin346ea772014-12-08 10:34:27 +080067config BOOT_MEDIA_SPI_BUS
Martin Roth595e7772015-04-26 18:53:26 -060068 int
69 default 2
huang lin346ea772014-12-08 10:34:27 +080070
huang lin346ea772014-12-08 10:34:27 +080071config DRIVER_TPM_I2C_BUS
72 hex
73 default 0x1
74
75config DRIVER_TPM_I2C_ADDR
76 hex
77 default 0x20
78
79config CONSOLE_SERIAL_UART_ADDRESS
80 hex
Patrick Georgi01368ed2015-04-16 15:27:52 +020081 depends on DRIVERS_UART
huang lin346ea772014-12-08 10:34:27 +080082 default 0xFF690000
83
David Hendricks4d244212015-01-12 13:13:30 -080084config PMIC_BUS
85 int
86 default 0
87
Julius Wernerdd07ef22015-08-28 14:34:09 -070088endif # BOARD_GOOGLE_VEYRON