blob: c225d101e1048359c3d299863730f0d5e7a38a2f [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
16config BOARD_GOOGLE_GRU # Umbrella option to be selected by variant boards.
17 def_bool n
18
19if BOARD_GOOGLE_GRU
20
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
44 default "Gru"
45
46config MAINBOARD_VENDOR
47 string
48 default "Google"
49
50config DRAM_SIZE_MB
51 int
52 default 2048
53
54config EC_GOOGLE_CHROMEEC_SPI_BUS
55 hex
56 default 0
57
58config BOOT_MEDIA_SPI_BUS
59 int
60 default 1
61
62config CONSOLE_SERIAL_UART_ADDRESS
63 hex
64 depends on DRIVERS_UART
65 default 0xFF1A0000
66
67endif # BOARD_GOOGLE_GRU