From 5e808cb811d9cfbf38b9d50ba0de4d5129c2b339 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Sat, 28 May 2016 14:58:57 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/15001 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/intel/galileo/Kconfig | 7 ++++++- src/mainboard/intel/galileo/Makefile.inc | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3