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