The SOC code should include the SPI controller driver when configured. Enable SPI support for cosmos. BRANCH=none BUG=chrome-os-partner:32631 TEST=cosmos builds Change-Id: I8212f191b7d80f0bee86f746813edaf8e5ee6db1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: fd4853be5157247bb73fc22b9d4f8300228fe6ce Original-Change-Id: If7e12e2fb04e63c36d9696d13e08397b91a77a8c Original-Commit-Id: 7b1d095e5df6a864d3564bbf7a20cc211f75629a Original-Change-Id: If9dd80cb96120d34a0865f7882cd62e45fed749d Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/223750 Original-Reviewed-on: https://chromium-review.googlesource.com/223752 Reviewed-on: http://review.coreboot.org/9356 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
61 lines
1.4 KiB
Plaintext
61 lines
1.4 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_COSMOS
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_ROMSIZE_KB_1024
|
|
select BOARD_ID_SUPPORT
|
|
select CHROMEOS
|
|
select CHROMEOS_VBNV_FLASH
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select HAVE_HARD_RESET
|
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
|
select RETURN_FROM_VERSTAGE
|
|
select SOC_MARVELL_BG4CD
|
|
select SPI_FLASH
|
|
select SPI_FLASH_SPANSION
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/cosmos
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Cosmos"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "Google"
|
|
|
|
config VBOOT_RAMSTAGE_INDEX
|
|
hex
|
|
default 0x3
|
|
|
|
config BOOT_MEDIA_SPI_BUS
|
|
int
|
|
default 2
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 1024
|
|
|
|
endif # BOARD_GOOGLE_COSMOS
|