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 | |
Vadim Bendebury | f9cbe35 | 2016-04-26 14:43:53 -0700 | [diff] [blame] | 16 | config BOARD_GOOGLE_GRU_COMMON # Umbrella option to be selected by variant boards. |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 17 | def_bool n |
| 18 | |
Vadim Bendebury | f9cbe35 | 2016-04-26 14:43:53 -0700 | [diff] [blame] | 19 | if BOARD_GOOGLE_GRU_COMMON |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 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 |
Lin Huang | b497b48 | 2016-03-31 18:44:13 +0800 | [diff] [blame] | 27 | select MAINBOARD_DO_NATIVE_VGA_INIT |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 28 | select MAINBOARD_HAS_CHROMEOS |
Lin Huang | b497b48 | 2016-03-31 18:44:13 +0800 | [diff] [blame] | 29 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 30 | select SOC_ROCKCHIP_RK3399 |
| 31 | select SPI_FLASH |
| 32 | select SPI_FLASH_GIGADEVICE |
| 33 | select SPI_FLASH_WINBOND |
| 34 | |
| 35 | config CHROMEOS |
| 36 | select CHROMEOS_VBNV_FLASH |
| 37 | select VBOOT2_MOCK_SECDATA |
| 38 | select VIRTUAL_DEV_SWITCH |
| 39 | |
| 40 | config MAINBOARD_DIR |
| 41 | string |
| 42 | default google/gru |
| 43 | |
| 44 | config MAINBOARD_PART_NUMBER |
| 45 | string |
Patrick Georgi | 91d94b0 | 2016-04-14 14:45:22 +0200 | [diff] [blame] | 46 | default "Kevin" if BOARD_GOOGLE_KEVIN |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 47 | default "Gru" |
| 48 | |
| 49 | config MAINBOARD_VENDOR |
| 50 | string |
| 51 | default "Google" |
| 52 | |
| 53 | config DRAM_SIZE_MB |
| 54 | int |
Lin Huang | 728fffd | 2016-05-05 18:51:49 +0800 | [diff] [blame] | 55 | default 4096 |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 56 | |
| 57 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 58 | hex |
Vadim Bendebury | 8f8cf4d | 2016-05-22 16:25:29 -0700 | [diff] [blame^] | 59 | default 5 |
huang lin | a6dbfb5 | 2016-03-02 18:38:40 +0800 | [diff] [blame] | 60 | |
| 61 | config BOOT_MEDIA_SPI_BUS |
| 62 | int |
| 63 | default 1 |
| 64 | |
| 65 | config CONSOLE_SERIAL_UART_ADDRESS |
| 66 | hex |
| 67 | depends on DRIVERS_UART |
| 68 | default 0xFF1A0000 |
| 69 | |
Vadim Bendebury | f9cbe35 | 2016-04-26 14:43:53 -0700 | [diff] [blame] | 70 | endif # BOARD_GOOGLE_GRU_COMMON |