summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/bootblock/bootblock.c
diff options
context:
space:
mode:
authorBora Guvendik <bora.guvendik@intel.com>2018-06-13 14:46:10 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-06-21 15:55:05 +0000
commit7fe9e8edea0dd07d0980d85b3f43c96ca486ab0a (patch)
tree13c589ba86429f2a9ab1f23141eb31b89b7570ff /src/soc/intel/apollolake/bootblock/bootblock.c
parent90d3b2b0c0d63d58d75cf28616724a41e7951e58 (diff)
soc/intel/apollolake: unify definition for spi base address
Use SPI_BASE_ADDRESS instead of PRERAM_SPI_BASE_ADDRESS like big core in order make common code implementation straightforward. Change-Id: Ibcb013fc95de29234253e89c9ca100cc468d44f6 Signed-off-by: Bora Guvendik <bora.guvendik@intel.com> Reviewed-on: https://review.coreboot.org/27097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/apollolake/bootblock/bootblock.c')
-rw-r--r--src/soc/intel/apollolake/bootblock/bootblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c
index c7ababd216..ead6bf3f03 100644
--- a/src/soc/intel/apollolake/bootblock/bootblock.c
+++ b/src/soc/intel/apollolake/bootblock/bootblock.c
@@ -106,7 +106,7 @@ void bootblock_soc_early_init(void)
enable_pm_timer_emulation();
- fast_spi_early_init(PRERAM_SPI_BASE_ADDRESS);
+ fast_spi_early_init(SPI_BASE_ADDRESS);
fast_spi_cache_bios_region();