This switches all the rk3288 platforms to use the common CBFS wrapper instead of implementing its own CBFS media driver. It also happens that veyron_* platforms use Gigadevice SPI flash (at least for now). As we use more SPI-related stuff, for example eventlog and vboot data in Brain's case, we will need to use more of the SPI API anyway. This prevents us from having to duplicate pieces of it for rk3288. BUG=none BRANCH=none TEST=built and booted on Pinky Change-Id: Ie462456814646fdc277485d9e2d8c901fd4936e7 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 2d6df2fe6d78bc8eee8689019b9aaf29c82b6b30 Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: Id307bd5fb6cc8f79411d8c66e1370e80c58d017b Original-Reviewed-on: https://chromium-review.googlesource.com/235882 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9678 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
88 lines
1.9 KiB
Plaintext
88 lines
1.9 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.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program; if not, write to the Free Software
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
##
|
|
|
|
if BOARD_GOOGLE_VEYRON_MIGHTY
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_ID_SUPPORT
|
|
select CHROMEOS_VBNV_EC
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select EC_GOOGLE_CHROMEEC
|
|
select EC_GOOGLE_CHROMEEC_SPI
|
|
select EC_SOFTWARE_SYNC
|
|
select RAM_CODE_SUPPORT
|
|
select SOC_ROCKCHIP_RK3288
|
|
select MAINBOARD_DO_NATIVE_VGA_INIT
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select BOARD_ROMSIZE_KB_4096
|
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
|
select HAVE_HARD_RESET
|
|
select RETURN_FROM_VERSTAGE
|
|
select SPI_FLASH
|
|
select SPI_FLASH_GIGADEVICE
|
|
select VIRTUAL_DEV_SWITCH
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/veyron_mighty
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Veyron_Mighty"
|
|
|
|
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 VBOOT_RAMSTAGE_INDEX
|
|
hex
|
|
default 0x3
|
|
|
|
config BOOT_MEDIA_SPI_BUS
|
|
int
|
|
default 2
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 2048
|
|
|
|
config DRIVER_TPM_I2C_BUS
|
|
hex
|
|
default 0x1
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
|
hex
|
|
default 0x20
|
|
|
|
config CONSOLE_SERIAL_UART_ADDRESS
|
|
hex
|
|
depends on CONSOLE_SERIAL_UART
|
|
default 0xFF690000
|
|
|
|
endif # BOARD_GOOGLE_VEYRON_MIGHTY
|