Provide a default value of 0 in drivers/spi as there weren't default values aside from specific mainboards and arch/x86. Remove any default 0 values while noting to keep the option's default to 0. BUG=chrome-os-partner:56151 Change-Id: If9ef585e011a46b5cd152a03e41d545b36355a61 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16192 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Martin Roth <martinroth@google.com>
57 lines
1.2 KiB
Plaintext
57 lines
1.2 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.
|
|
##
|
|
|
|
if BOARD_GOOGLE_COSMOS
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_ID_AUTO
|
|
select BOARD_ROMSIZE_KB_2048
|
|
select COMMON_CBFS_SPI_WRAPPER
|
|
select HAVE_HARD_RESET
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select SOC_MARVELL_BG4CD
|
|
select SPI_FLASH
|
|
select SPI_FLASH_SPANSION
|
|
|
|
config CHROMEOS
|
|
select VBOOT_VBNV_FLASH
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/cosmos
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Cosmos"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "Google"
|
|
|
|
config BOOT_DEVICE_SPI_FLASH_BUS
|
|
int
|
|
default 2
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 1024
|
|
|
|
config GBB_HWID
|
|
string
|
|
depends on CHROMEOS
|
|
default "Cosmos TEST 1"
|
|
endif # BOARD_GOOGLE_COSMOS
|