huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 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. |
| 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 Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 17 | ## Foundation, Inc. |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 18 | ## |
| 19 | |
Julius Werner | dd07ef2 | 2015-08-28 14:34:09 -0700 | [diff] [blame] | 20 | config BOARD_GOOGLE_VEYRON # dummy option to be selected by variant boards |
| 21 | def_bool n |
| 22 | |
| 23 | if BOARD_GOOGLE_VEYRON |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 24 | |
| 25 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 26 | def_bool y |
Stefan Reinauer | 82c706e | 2015-03-30 12:20:55 -0700 | [diff] [blame] | 27 | select BOARD_ID_AUTO |
David Hendricks | 3cbf02c | 2014-12-15 16:15:23 -0800 | [diff] [blame] | 28 | select COMMON_CBFS_SPI_WRAPPER |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 29 | select EC_GOOGLE_CHROMEEC |
| 30 | select EC_GOOGLE_CHROMEEC_SPI |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 31 | select RAM_CODE_SUPPORT |
| 32 | select SOC_ROCKCHIP_RK3288 |
Martin Roth | c0c115b | 2015-08-21 14:37:02 -0600 | [diff] [blame] | 33 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 34 | select MAINBOARD_DO_NATIVE_VGA_INIT |
| 35 | select MAINBOARD_HAS_CHROMEOS |
Julius Werner | dd07ef2 | 2015-08-28 14:34:09 -0700 | [diff] [blame] | 36 | select BOARD_ROMSIZE_KB_4096 |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 37 | select HAVE_HARD_RESET |
David Hendricks | 3cbf02c | 2014-12-15 16:15:23 -0800 | [diff] [blame] | 38 | select SPI_FLASH |
| 39 | select SPI_FLASH_GIGADEVICE |
Julius Werner | b7641cc | 2014-12-19 12:41:16 -0800 | [diff] [blame] | 40 | select SPI_FLASH_WINBOND |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 41 | |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 42 | config CHROMEOS |
| 43 | select CHROMEOS_VBNV_EC |
| 44 | select EC_SOFTWARE_SYNC |
Martin Roth | 8c12d6e | 2015-08-24 15:55:29 -0600 | [diff] [blame] | 45 | select VIRTUAL_DEV_SWITCH |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 46 | |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 47 | config MAINBOARD_DIR |
| 48 | string |
Julius Werner | dd07ef2 | 2015-08-28 14:34:09 -0700 | [diff] [blame] | 49 | default google/veyron |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 50 | |
| 51 | config MAINBOARD_PART_NUMBER |
| 52 | string |
Julius Werner | dd07ef2 | 2015-08-28 14:34:09 -0700 | [diff] [blame] | 53 | default "Veyron" |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 54 | |
| 55 | config MAINBOARD_VENDOR |
| 56 | string |
| 57 | default "Google" |
| 58 | |
| 59 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 60 | hex |
| 61 | default 0 |
| 62 | |
| 63 | config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US |
| 64 | int |
| 65 | default 100 |
| 66 | |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 67 | config BOOT_MEDIA_SPI_BUS |
Martin Roth | 595e777 | 2015-04-26 18:53:26 -0600 | [diff] [blame] | 68 | int |
| 69 | default 2 |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 70 | |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 71 | config DRIVER_TPM_I2C_BUS |
| 72 | hex |
| 73 | default 0x1 |
| 74 | |
| 75 | config DRIVER_TPM_I2C_ADDR |
| 76 | hex |
| 77 | default 0x20 |
| 78 | |
| 79 | config CONSOLE_SERIAL_UART_ADDRESS |
| 80 | hex |
Patrick Georgi | 01368ed | 2015-04-16 15:27:52 +0200 | [diff] [blame] | 81 | depends on DRIVERS_UART |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 82 | default 0xFF690000 |
| 83 | |
David Hendricks | 4d24421 | 2015-01-12 13:13:30 -0800 | [diff] [blame] | 84 | config PMIC_BUS |
| 85 | int |
| 86 | default 0 |
| 87 | |
Paul Kocialkowski | d738b14 | 2015-09-16 18:23:23 +0200 | [diff] [blame^] | 88 | config CBFS_SIZE |
| 89 | hex |
| 90 | default 0x100000 if CHROMEOS |
| 91 | default ROM_SIZE |
| 92 | |
Julius Werner | dd07ef2 | 2015-08-28 14:34:09 -0700 | [diff] [blame] | 93 | endif # BOARD_GOOGLE_VEYRON |