diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2019-05-18 15:56:14 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-22 10:06:55 +0000 |
commit | 1caa3143d6decbb1cbb0c64cdb5a22bb46ae0053 (patch) | |
tree | 36e24ff889bb54f0085740e83100eac39c75f00b /src/soc/intel/fsp_baytrail/Makefile.inc | |
parent | 8ef2a45bb9139a160d2562938680a73edb10e8ae (diff) |
soc/fsp_baytrail: fix flashconsole on platform
Include spi.c in romstage. Since FSP 1.0 can't use
NO_CAR_GLOBAL_MIGRATION, adjust global variables in spi.c
to use CAR_GLOBAL.
Adapted from early versions of CB:21107
Change-Id: I3487fb8ac317ce920bf1c3ef9d89590051932378
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/Makefile.inc')
-rw-r--r-- | src/soc/intel/fsp_baytrail/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_baytrail/Makefile.inc b/src/soc/intel/fsp_baytrail/Makefile.inc index 5ed635d943..ca2b353b0f 100644 --- a/src/soc/intel/fsp_baytrail/Makefile.inc +++ b/src/soc/intel/fsp_baytrail/Makefile.inc @@ -35,6 +35,7 @@ romstage-y += tsc_freq.c postcar-y += tsc_freq.c smm-$(CONFIG_HAVE_SMI_HANDLER) += tsc_freq.c ramstage-y += spi.c +romstage-y += spi.c smm-$(CONFIG_HAVE_SMI_HANDLER) += spi.c ramstage-y += chip.c ramstage-y += iosf.c |