summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/apollolake/Kconfig9
-rw-r--r--src/soc/intel/apollolake/romstage.c9
2 files changed, 10 insertions, 8 deletions
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 38e7491537da..f9ad4d63f05a 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -117,6 +117,15 @@ config CPU_SPECIFIC_OPTIONS
# provide a custom media driver that facilitates mapping
select X86_CUSTOM_BOOTMEDIA
+config SKIP_CSE_RBP
+ bool
+ default y if BOOT_DEVICE_MEMORY_MAPPED
+ help
+ Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch
+ firmware for us if we are using memory-mapped SPI. This lets CSE
+ state machine transition to next boot state, so that it can function
+ as designed.
+
config DISABLE_HECI1_AT_PRE_BOOT
default y
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index c4d7977c41ff..08543b1ea7ef 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -293,14 +293,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
/* Do NOT let FSP do any GPIO pad configuration */
mupd->FspmConfig.PreMemGpioTablePtr = (uintptr_t) NULL;
- /*
- * Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch
- * firmware for us if we are using memory-mapped SPI. This lets CSE
- * state machine transition to next boot state, so that it can function
- * as designed.
- */
- mupd->FspmConfig.SkipCseRbp =
- CONFIG(BOOT_DEVICE_MEMORY_MAPPED);
+ mupd->FspmConfig.SkipCseRbp = CONFIG(SKIP_CSE_RBP);
/*
* Converged Security Engine (CSE) has secure storage functionality.