summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-06-01 01:53:18 -0700
committerFurquan Shaikh <furquan@google.com>2016-06-02 17:21:39 +0200
commitd5583a5e61c4dbb870ceddc13fbee49b0d46d52f (patch)
tree2d1ee65b0f7ac0ea422831faf51e8a2430b30fcc /src/Kconfig
parentab90f96ba58eefb8526270e66b45b26fbf10b09a (diff)
downloadcoreboot-d5583a5e61c4dbb870ceddc13fbee49b0d46d52f.tar.xz
cbfs: Use NO_XIP_EARLY_STAGES to decide if stage is XIP
Modern platforms like Apollolake do not use XIP for early stages. In such cases, cbfs_prog_stage_load should check for NO_XIP_EARLY_STAGES instead of relying on ARCH_X86 to decide if a stage is XIP. Change-Id: I1729ce82b5f678ce8c37256090fcf353cc22b1ec Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15045 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig
index f93c2cc23d..6e6e9447ff 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -204,8 +204,7 @@ config NO_XIP_EARLY_STAGES
default n if ARCH_X86
default y
help
- Identify if --xip parameter needs to be passed into cbfstool for early
- stages.
+ Identify if early stages are eXecute-In-Place(XIP).
config EARLY_CBMEM_INIT
def_bool !LATE_CBMEM_INIT