For devices with Chrome EC, state the "board" name(s), so they're built as part of the image. A number of EC boards aren't supported in the Chrome EC master branch, they're brought along but commented out, waiting for a port to master in the Chrome EC code base. Change-Id: Ic6ab821de55cf9b4e8b48fe5ebc603adeb8bb28b Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13548 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
104 lines
2.3 KiB
Plaintext
104 lines
2.3 KiB
Plaintext
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright 2014 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_VEYRON # dummy option to be selected by variant boards
|
|
def_bool n
|
|
|
|
if BOARD_GOOGLE_VEYRON
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_ID_AUTO
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select EC_GOOGLE_CHROMEEC
|
|
select EC_GOOGLE_CHROMEEC_SPI
|
|
select RAM_CODE_SUPPORT
|
|
select SOC_ROCKCHIP_RK3288
|
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
|
select MAINBOARD_DO_NATIVE_VGA_INIT
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select BOARD_ROMSIZE_KB_4096
|
|
select HAVE_HARD_RESET
|
|
select SPI_FLASH
|
|
select SPI_FLASH_GIGADEVICE
|
|
select SPI_FLASH_WINBOND
|
|
|
|
config CHROMEOS
|
|
select CHROMEOS_VBNV_EC
|
|
select EC_SOFTWARE_SYNC
|
|
select VIRTUAL_DEV_SWITCH
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/veyron
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Veyron"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "Google"
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_BUS
|
|
hex
|
|
default 0
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
|
|
int
|
|
default 100
|
|
|
|
config BOOT_MEDIA_SPI_BUS
|
|
int
|
|
default 2
|
|
|
|
config DRIVER_TPM_I2C_BUS
|
|
hex
|
|
default 0x1
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
|
hex
|
|
default 0x20
|
|
|
|
config CONSOLE_SERIAL_UART_ADDRESS
|
|
hex
|
|
depends on DRIVERS_UART
|
|
default 0xFF690000
|
|
|
|
config PMIC_BUS
|
|
int
|
|
default 0
|
|
|
|
config CBFS_SIZE
|
|
hex
|
|
default 0x100000 if CHROMEOS
|
|
default ROM_SIZE
|
|
|
|
config EC_GOOGLE_CHROMEEC_BOARDNAME
|
|
string
|
|
depends on CHROMEOS
|
|
#default "gus" if BOARD_GOOGLE_VEYRON_GUS
|
|
#default "jaq" if BOARD_GOOGLE_VEYRON_JAQ
|
|
default "jerry" if BOARD_GOOGLE_VEYRON_JERRY
|
|
#default "mighty" if BOARD_GOOGLE_VEYRON_MIGHTY
|
|
#default "minnie" if BOARD_GOOGLE_VEYRON_MINNIE
|
|
#default "nicky" if BOARD_GOOGLE_VEYRON_NICKY
|
|
#default "pinky" if BOARD_GOOGLE_VEYRON_PINKY
|
|
#default "minnie" if BOARD_GOOGLE_VEYRON_SHARK
|
|
#default "speedy" if BOARD_GOOGLE_VEYRON_SPEEDY
|
|
#default "thea" if BOARD_GOOGLE_VEYRON_THEA
|
|
|
|
endif # BOARD_GOOGLE_VEYRON
|