blob: d5e764cc06aeece41b24807a63184fa4603a034e [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
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18##
19
20if BOARD_GOOGLE_VEYRON_SPEEDY
21
22config BOARD_SPECIFIC_OPTIONS # dummy
23 def_bool y
24 select BOARD_ID_SUPPORT
25 select BOARD_ROMSIZE_KB_4096
David Hendricks3cbf02c2014-12-15 16:15:23 -080026 select CHROMEOS_VBNV_EC
27 select COMMON_CBFS_SPI_WRAPPER
huang lin346ea772014-12-08 10:34:27 +080028 select EC_GOOGLE_CHROMEEC
29 select EC_GOOGLE_CHROMEEC_SPI
30 select EC_SOFTWARE_SYNC
31 select RAM_CODE_SUPPORT
32 select SOC_ROCKCHIP_RK3288
33 select MAINBOARD_DO_NATIVE_VGA_INIT
34 select MAINBOARD_HAS_CHROMEOS
35 select MAINBOARD_HAS_BOOTBLOCK_INIT
36 select HAVE_HARD_RESET
37 select RETURN_FROM_VERSTAGE
David Hendricks3cbf02c2014-12-15 16:15:23 -080038 select SPI_FLASH
39 select SPI_FLASH_GIGADEVICE
huang lin346ea772014-12-08 10:34:27 +080040 select VIRTUAL_DEV_SWITCH
41
42config MAINBOARD_DIR
43 string
44 default google/veyron_speedy
45
46config MAINBOARD_PART_NUMBER
47 string
48 default "Veyron_Speedy"
49
50config MAINBOARD_VENDOR
51 string
52 default "Google"
53
54config EC_GOOGLE_CHROMEEC_SPI_BUS
55 hex
56 default 0
57
58config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
59 int
60 default 100
61
62config VBOOT_RAMSTAGE_INDEX
63 hex
64 default 0x3
65
66config BOOT_MEDIA_SPI_BUS
67 int
68 default 2
69
70config DRAM_SIZE_MB
71 int
72 default 2048
73
74config DRIVER_TPM_I2C_BUS
75 hex
76 default 0x1
77
78config DRIVER_TPM_I2C_ADDR
79 hex
80 default 0x20
81
82config CONSOLE_SERIAL_UART_ADDRESS
83 hex
84 depends on CONSOLE_SERIAL_UART
85 default 0xFF690000
86
87endif # BOARD_GOOGLE_VEYRON_SPEEDY