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 |
| 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | if BOARD_GOOGLE_VEYRON_SPEEDY |
| 21 | |
| 22 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 23 | def_bool y |
| 24 | select BOARD_ID_SUPPORT |
| 25 | select BOARD_ROMSIZE_KB_4096 |
David Hendricks | 3cbf02c | 2014-12-15 16:15:23 -0800 | [diff] [blame^] | 26 | select CHROMEOS_VBNV_EC |
| 27 | select COMMON_CBFS_SPI_WRAPPER |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 28 | 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 Hendricks | 3cbf02c | 2014-12-15 16:15:23 -0800 | [diff] [blame^] | 38 | select SPI_FLASH |
| 39 | select SPI_FLASH_GIGADEVICE |
huang lin | 346ea77 | 2014-12-08 10:34:27 +0800 | [diff] [blame] | 40 | select VIRTUAL_DEV_SWITCH |
| 41 | |
| 42 | config MAINBOARD_DIR |
| 43 | string |
| 44 | default google/veyron_speedy |
| 45 | |
| 46 | config MAINBOARD_PART_NUMBER |
| 47 | string |
| 48 | default "Veyron_Speedy" |
| 49 | |
| 50 | config MAINBOARD_VENDOR |
| 51 | string |
| 52 | default "Google" |
| 53 | |
| 54 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 55 | hex |
| 56 | default 0 |
| 57 | |
| 58 | config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US |
| 59 | int |
| 60 | default 100 |
| 61 | |
| 62 | config VBOOT_RAMSTAGE_INDEX |
| 63 | hex |
| 64 | default 0x3 |
| 65 | |
| 66 | config BOOT_MEDIA_SPI_BUS |
| 67 | int |
| 68 | default 2 |
| 69 | |
| 70 | config DRAM_SIZE_MB |
| 71 | int |
| 72 | default 2048 |
| 73 | |
| 74 | config DRIVER_TPM_I2C_BUS |
| 75 | hex |
| 76 | default 0x1 |
| 77 | |
| 78 | config DRIVER_TPM_I2C_ADDR |
| 79 | hex |
| 80 | default 0x20 |
| 81 | |
| 82 | config CONSOLE_SERIAL_UART_ADDRESS |
| 83 | hex |
| 84 | depends on CONSOLE_SERIAL_UART |
| 85 | default 0xFF690000 |
| 86 | |
| 87 | endif # BOARD_GOOGLE_VEYRON_SPEEDY |