f9cbe35319
Gru is the common name of a set of coreboot boards, each of them has the config option BOARD_GOOGLE_GRU enabled. Now we need to add the actual board called Gru to the set. Let's rename the common config option to BOARD_GOOGLE_GRU_COMMON and use BOARD_GOOGLE_GRU for the actual board. BRANCH=none BUG=none TEST=with corresponding depthcharge and configuration space changes it is possible to build the Gru board which boots the kernel using the proper compatibility string of google,gru-rev0 Change-Id: I363d4b690b7549f50ed75d77b56e6a1e1d17b60f Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 327ecc0de20ac0b93ec3cd28ef398393d4ea7c42 Original-Change-Id: Ia43278225c2d32d2af37193a77ea792551c9f8d9 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/340793 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/14724 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
68 lines
1.5 KiB
Text
68 lines
1.5 KiB
Text
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright 2016 Rockchip Inc.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
|
|
config BOARD_GOOGLE_GRU_COMMON # Umbrella option to be selected by variant boards.
|
|
def_bool n
|
|
|
|
if BOARD_GOOGLE_GRU_COMMON
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select BOARD_ID_AUTO
|
|
select BOARD_ROMSIZE_KB_8192
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select HAVE_HARD_RESET
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select SOC_ROCKCHIP_RK3399
|
|
select SPI_FLASH
|
|
select SPI_FLASH_GIGADEVICE
|
|
select SPI_FLASH_WINBOND
|
|
|
|
config CHROMEOS
|
|
select CHROMEOS_VBNV_FLASH
|
|
select VBOOT2_MOCK_SECDATA
|
|
select VIRTUAL_DEV_SWITCH
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/gru
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Kevin" if BOARD_GOOGLE_KEVIN
|
|
default "Gru"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "Google"
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 2048
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_BUS
|
|
hex
|
|
default 0
|
|
|
|
config BOOT_MEDIA_SPI_BUS
|
|
int
|
|
default 1
|
|
|
|
config CONSOLE_SERIAL_UART_ADDRESS
|
|
hex
|
|
depends on DRIVERS_UART
|
|
default 0xFF1A0000
|
|
|
|
endif # BOARD_GOOGLE_GRU_COMMON
|