summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-02-06 12:15:38 -0500
committerTom Rini <trini@konsulko.com>2018-02-14 12:14:13 -0500
commit75670c81e48d4cdab791ab040f00062f2a997d78 (patch)
tree1a944b0d5bb830eb38723a342358acc966d4cffe /common
parent7a88afd080a5e248c0cb91aedc74320ca45b72af (diff)
configs: Migrate CONFIG_SPL_FRAMEWORK
Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the current set of options we have in Kconfig. We will need to have some options available for SPL and !SPL_FRAMEWORK so this is important. In a few cases we re-order existing options so that we have less escapes from the SPL_FRAMEWORK guard. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 65b3aff244..f58163ce53 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -16,12 +16,20 @@ config SPL
help
If you want to build SPL as well as the normal image, say Y.
+config SPL_FRAMEWORK
+ bool "Support SPL based upon the common SPL framework"
+ depends on SPL
+ default y
+ help
+ Enable the SPL framework under common/spl/. This framework
+ supports MMC, NAND and YMODEM and other methods loading of U-Boot
+ and the Linux Kernel. If unsure, say Y.
+
if SPL
config SPL_LDSCRIPT
string "Linker script for the SPL stage"
default "arch/$(ARCH)/cpu/u-boot-spl.lds"
- depends on SPL
help
The SPL stage will usually require a different linker-script
(as it runs from a different memory region) than the regular