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 |
| 44 | default "Gru" |
| 45 | |
| 46 | config MAINBOARD_VENDOR |
| 47 | string |
| 48 | default "Google" |
| 49 | |
| 50 | config DRAM_SIZE_MB |
| 51 | int |
| 52 | default 2048 |
| 53 | |
| 54 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 55 | hex |
| 56 | default 0 |
| 57 | |
| 58 | config BOOT_MEDIA_SPI_BUS |
| 59 | int |
| 60 | default 1 |
| 61 | |
| 62 | config CONSOLE_SERIAL_UART_ADDRESS |
| 63 | hex |
| 64 | depends on DRIVERS_UART |
| 65 | default 0xFF1A0000 |
| 66 | |
| 67 | endif # BOARD_GOOGLE_GRU |