This patch switches the mainboards with board id straps to use BOARD_ID_AUTO instead of BOARD_ID_SUPPORT. On urara, which does not have those straps, the option is removed. (And re-added for urara derivatives through setting the config option BOARD_ID_MANUAL BRANCH=none BUG=chrome-os-partner:37593 TEST=emerg-nyan_big coreboot, emerge-urara coreboot, emerge-buranku coreboot Change-Id: I5ac4024c6f1f9b9d7a5179d88722c69b23b82bbd Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 22a470698f9c9ed275aa8150a5bb8d8cf368b050 Original-Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Change-Id: I48c291ad6f255a28c833bebc2638bfafa2782e74 Original-Reviewed-on: https://chromium-review.googlesource.com/262935 Original-Reviewed-by: Vadim Bendebury <vbendeb@google.com> Reviewed-on: http://review.coreboot.org/9906 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright 2014 Google 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_STORM
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select SOC_QC_IPQ806X
|
|
select BOARD_ID_AUTO
|
|
select BOARD_ROMSIZE_KB_8192
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select HAVE_HARD_RESET
|
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
|
select RETURN_FROM_VERSTAGE
|
|
select SPI_FLASH
|
|
select SPI_FLASH_SPANSION
|
|
select SPI_FLASH_STMICRO
|
|
|
|
config BOARD_VARIANT_AP148
|
|
bool "pick this to build an image for ap148"
|
|
default n
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/storm
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "AP148" if BOARD_VARIANT_AP148
|
|
default "Storm"
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 512 if BOARD_VARIANT_AP148
|
|
default 1024
|
|
|
|
config DRIVER_TPM_I2C_BUS
|
|
hex
|
|
default 0x1
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
|
hex
|
|
default 0x20
|
|
|
|
endif # BOARD_GOOGLE_STORM
|