aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/galileo/romstage.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-07-25 07:41:54 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2016-08-05 01:50:45 +0200
commit102f6253600cfa3f741c0d1d126436d612daa203 (patch)
treedc3d0c6376b405dc053e4f4c9c864d30cf4737eb /src/mainboard/intel/galileo/romstage.c
parent6e05c33626e128c383470579f423b1ee569302ba (diff)
soc/intel/quark: Add FSP 2.0 boot block support
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>
Diffstat (limited to 'src/mainboard/intel/galileo/romstage.c')
-rw-r--r--src/mainboard/intel/galileo/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/intel/galileo/romstage.c b/src/mainboard/intel/galileo/romstage.c
index dfae772580..baf9af37cb 100644
--- a/src/mainboard/intel/galileo/romstage.c
+++ b/src/mainboard/intel/galileo/romstage.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#if IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_1)
#include <fsp/romstage.h>
/* All FSP specific code goes in this block */
@@ -22,3 +23,4 @@ void mainboard_romstage_entry(struct romstage_params *rp)
/* Call back into chipset code with platform values updated. */
romstage_common(rp);
}
+#endif /* IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_1) */