huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright 2016 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 | |
| 16 | config BOARD_GOOGLE_GRU # Umbrella option to be selected by variant boards. |
| 17 | def_bool n |
| 18 | |
| 19 | if BOARD_GOOGLE_GRU |
| 20 | |
| 21 | config BOARD_SPECIFIC_OPTIONS |
| 22 | def_bool y |
| 23 | select BOARD_ID_AUTO |
| 24 | select BOARD_ROMSIZE_KB_8192 |
| 25 | select COMMON_CBFS_SPI_WRAPPER |
| 26 | select HAVE_HARD_RESET |
| 27 | select MAINBOARD_HAS_CHROMEOS |
| 28 | select SOC_ROCKCHIP_RK3399 |
| 29 | select SPI_FLASH |
| 30 | select SPI_FLASH_GIGADEVICE |
| 31 | select SPI_FLASH_WINBOND |
| 32 | |
| 33 | config CHROMEOS |
| 34 | select CHROMEOS_VBNV_FLASH |
| 35 | select VBOOT2_MOCK_SECDATA |
| 36 | select VIRTUAL_DEV_SWITCH |
| 37 | |
| 38 | config MAINBOARD_DIR |
| 39 | string |
| 40 | default google/gru |
| 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | string |
Patrick Georgi | 91d94b0 | 2016-04-14 14:45:22 +0200 | [diff] [blame] | 44 | default "Kevin" if BOARD_GOOGLE_KEVIN |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 45 | default "Gru" |
| 46 | |
| 47 | config MAINBOARD_VENDOR |
| 48 | string |
| 49 | default "Google" |
| 50 | |
| 51 | config DRAM_SIZE_MB |
| 52 | int |
| 53 | default 2048 |
| 54 | |
| 55 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 56 | hex |
| 57 | default 0 |
| 58 | |
| 59 | config BOOT_MEDIA_SPI_BUS |
| 60 | int |
| 61 | default 1 |
| 62 | |
| 63 | config CONSOLE_SERIAL_UART_ADDRESS |
| 64 | hex |
| 65 | depends on DRIVERS_UART |
| 66 | default 0xFF1A0000 |
| 67 | |
| 68 | endif # BOARD_GOOGLE_GRU |