blob: 882571c02c455c65c1bdf166a9dec05bed1b4c90 [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
20if BOARD_GOOGLE_VEYRON_SPEEDY
21
22config BOARD_SPECIFIC_OPTIONS # dummy
23 def_bool y
Stefan Reinauer82c706e2015-03-30 12:20:55 -070024 select BOARD_ID_AUTO
huang lin346ea772014-12-08 10:34:27 +080025 select BOARD_ROMSIZE_KB_4096
David Hendricks3cbf02c2014-12-15 16:15:23 -080026 select COMMON_CBFS_SPI_WRAPPER
huang lin346ea772014-12-08 10:34:27 +080027 select EC_GOOGLE_CHROMEEC
28 select EC_GOOGLE_CHROMEEC_SPI
huang lin346ea772014-12-08 10:34:27 +080029 select RAM_CODE_SUPPORT
30 select SOC_ROCKCHIP_RK3288
31 select MAINBOARD_DO_NATIVE_VGA_INIT
32 select MAINBOARD_HAS_CHROMEOS
huang lin346ea772014-12-08 10:34:27 +080033 select HAVE_HARD_RESET
David Hendricks3cbf02c2014-12-15 16:15:23 -080034 select SPI_FLASH
35 select SPI_FLASH_GIGADEVICE
Julius Wernerb7641cc2014-12-19 12:41:16 -080036 select SPI_FLASH_WINBOND
huang lin346ea772014-12-08 10:34:27 +080037 select VIRTUAL_DEV_SWITCH
38
Martin Roth967cd9a2015-08-18 14:22:58 -060039config CHROMEOS
40 select CHROMEOS_VBNV_EC
41 select EC_SOFTWARE_SYNC
42
huang lin346ea772014-12-08 10:34:27 +080043config MAINBOARD_DIR
44 string
45 default google/veyron_speedy
46
47config MAINBOARD_PART_NUMBER
48 string
49 default "Veyron_Speedy"
50
51config MAINBOARD_VENDOR
52 string
53 default "Google"
54
55config EC_GOOGLE_CHROMEEC_SPI_BUS
56 hex
57 default 0
58
59config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
60 int
61 default 100
62
huang lin346ea772014-12-08 10:34:27 +080063config BOOT_MEDIA_SPI_BUS
Martin Roth595e7772015-04-26 18:53:26 -060064 int
65 default 2
huang lin346ea772014-12-08 10:34:27 +080066
huang lin346ea772014-12-08 10:34:27 +080067config DRIVER_TPM_I2C_BUS
68 hex
69 default 0x1
70
71config DRIVER_TPM_I2C_ADDR
72 hex
73 default 0x20
74
75config CONSOLE_SERIAL_UART_ADDRESS
76 hex
Patrick Georgi01368ed2015-04-16 15:27:52 +020077 depends on DRIVERS_UART
huang lin346ea772014-12-08 10:34:27 +080078 default 0xFF690000
79
David Hendricks4d244212015-01-12 13:13:30 -080080config PMIC_BUS
81 int
82 default 0
83
huang lin346ea772014-12-08 10:34:27 +080084endif # BOARD_GOOGLE_VEYRON_SPEEDY