102f625360
Add the pieces necessary to successfully build and run bootblock using the FSP 2.0 build. TEST=Build and run bootblock on Galileo Gen2 Change-Id: I2377f0b0147196f100396b8cd7eaca8f92d6932f Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15865 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
60 lines
1.4 KiB
Text
60 lines
1.4 KiB
Text
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2015-2016 Intel Corp.
|
|
##
|
|
## 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_INTEL_GALILEO
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select BOARD_ROMSIZE_KB_8192
|
|
select CREATE_BOARD_CHECKLIST
|
|
select ENABLE_BUILTIN_HSUART1
|
|
select HAVE_ACPI_TABLES
|
|
select SOC_INTEL_QUARK
|
|
select USE_FSP1_1
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default intel/galileo
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Galileo"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "Intel"
|
|
|
|
config GALILEO_GEN2
|
|
bool "Board generation: GEN1 (n) or GEN2 (y)"
|
|
default y
|
|
help
|
|
The coreboot binary will configure only one generation of the Galileo
|
|
board since coreboot can not determine the board generation at
|
|
runtime. Select which generation of the Galileo that coreboot
|
|
should initialize.
|
|
|
|
config USE_FSP1_1
|
|
bool
|
|
default n
|
|
select PLATFORM_USES_FSP1_1
|
|
# select ADD_FSP_RAW_BIN
|
|
|
|
config USE_FSP2_0
|
|
bool
|
|
default n
|
|
select BOOTBLOCK_CONSOLE
|
|
select PLATFORM_USES_FSP2_0
|
|
|
|
endif # BOARD_INTEL_QUARK
|