This is needed to ensure that the ram-code node is included in the device tree by depthcharge. BRANCH=none BUG=chrome-os-partner:54566 TEST=built updated firmware, booted on kevin into Linux shell, checked the device tree contents: localhost ~ # od -tx1 /proc/device-tree/firmware/coreboot/ram-code 0000000 00 00 00 01 0000004 localhost # Change-Id: Ibe96e3bc8fc0106013241738f5726783d74bd78b Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: 53c002114f7044b88728c9e17150cd3a2cf1f80f Original-Change-Id: Iba573fba9f9b88b87867c6963e48215e254319ed Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/354705 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15566 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
##
|
|
## 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 EC_GOOGLE_CHROMEEC
|
|
select EC_GOOGLE_CHROMEEC_RTC
|
|
select EC_GOOGLE_CHROMEEC_SPI
|
|
select HAVE_HARD_RESET
|
|
select MAINBOARD_DO_NATIVE_VGA_INIT
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
|
select RAM_CODE_SUPPORT
|
|
select RTC
|
|
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 4096
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_BUS
|
|
hex
|
|
default 5
|
|
|
|
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
|