blob: 940a8d24e22558bf343f5ed1b3b1f6b22065593e [file] [log] [blame]
huang lina6dbfb52016-03-02 18:38:40 +08001##
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 Bendeburyf9cbe352016-04-26 14:43:53 -070016config BOARD_GOOGLE_GRU_COMMON # Umbrella option to be selected by variant boards.
huang lina6dbfb52016-03-02 18:38:40 +080017 def_bool n
18
Vadim Bendeburyf9cbe352016-04-26 14:43:53 -070019if BOARD_GOOGLE_GRU_COMMON
huang lina6dbfb52016-03-02 18:38:40 +080020
21config 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
33config CHROMEOS
34 select CHROMEOS_VBNV_FLASH
35 select VBOOT2_MOCK_SECDATA
36 select VIRTUAL_DEV_SWITCH
37
38config MAINBOARD_DIR
39 string
40 default google/gru
41
42config MAINBOARD_PART_NUMBER
43 string
Patrick Georgi91d94b02016-04-14 14:45:22 +020044 default "Kevin" if BOARD_GOOGLE_KEVIN
huang lina6dbfb52016-03-02 18:38:40 +080045 default "Gru"
46
47config MAINBOARD_VENDOR
48 string
49 default "Google"
50
51config DRAM_SIZE_MB
52 int
53 default 2048
54
55config EC_GOOGLE_CHROMEEC_SPI_BUS
56 hex
57 default 0
58
59config BOOT_MEDIA_SPI_BUS
60 int
61 default 1
62
63config CONSOLE_SERIAL_UART_ADDRESS
64 hex
65 depends on DRIVERS_UART
66 default 0xFF1A0000
67
Vadim Bendeburyf9cbe352016-04-26 14:43:53 -070068endif # BOARD_GOOGLE_GRU_COMMON