summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-28 14:58:57 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-05-31 22:00:30 +0200
commit5e808cb811d9cfbf38b9d50ba0de4d5129c2b339 (patch)
tree825fd2a11550188ccd5894d01fefa23e1213e148
parent6b24dfce742d92f399a943d72cbae26b5d6f90aa (diff)
downloadcoreboot-5e808cb811d9cfbf38b9d50ba0de4d5129c2b339.tar.xz
mainboard/intel/galileo: Split out enabling FSP1_1
Split out enabling FSP 1.1 support to prepare for enabling FSP 2.0 support. TEST=Build and run on Galileo Gen2. Change-Id: Ic4e814bcf61f9480f98e2d7bc7a1648dec43a07d Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15001 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/intel/galileo/Kconfig7
-rw-r--r--src/mainboard/intel/galileo/Makefile.inc2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/intel/galileo/Kconfig b/src/mainboard/intel/galileo/Kconfig
index 6381ae82ba..4191ab715c 100644
--- a/src/mainboard/intel/galileo/Kconfig
+++ b/src/mainboard/intel/galileo/Kconfig
@@ -19,8 +19,8 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_8192
select HAVE_ACPI_TABLES
- select PLATFORM_USES_FSP1_1
select SOC_INTEL_QUARK
+ select USE_FSP1_1
config MAINBOARD_DIR
string
@@ -43,4 +43,9 @@ config GALILEO_GEN2
runtime. Select which generation of the Galileo that coreboot
should initialize.
+config USE_FSP1_1
+ bool
+ default n
+ select PLATFORM_USES_FSP1_1
+
endif # BOARD_INTEL_QUARK
diff --git a/src/mainboard/intel/galileo/Makefile.inc b/src/mainboard/intel/galileo/Makefile.inc
index 4db9e31943..72c74e1258 100644
--- a/src/mainboard/intel/galileo/Makefile.inc
+++ b/src/mainboard/intel/galileo/Makefile.inc
@@ -13,7 +13,9 @@
## GNU General Public License for more details.
##
+ifeq ($(CONFIG_PLATFORM_USES_FSP1_1),y)
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/quark
+endif
romstage-y += gpio.c