summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-10-06 07:55:16 +0200
committerTom Rini <trini@konsulko.com>2016-10-15 08:12:27 -0400
commit29d3bc793cf694bd98f693f8a378a99cd7ee91f7 (patch)
tree2b3bcbf19237395e340a783a9920c38f47d0d82d /common
parentc20ae2ffaa8b0c7b294330165a172d0f1dfe6dae (diff)
spl: move SYS_OS_BASE to Kconfig
Move SYS_OS_BASE to Kconfig and cleanup existing uses. Signed-off-by: Heiko Schocher <hs@denx.de> [trini: Also migrate a4m2k] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 74f7abc06b..bb99f1fcff 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -389,6 +389,16 @@ config SPL_OS_BOOT
Enable booting directly to an OS from SPL.
for more info read doc/README.falcon
+if SPL_OS_BOOT
+config SYS_OS_BASE
+ hex "addr, where OS is found"
+ depends on SPL && SPL_NOR_SUPPORT
+ help
+ Specify the address, where the OS image is found, which
+ gets booted.
+
+endif # SPL_OS_BOOT
+
config SPL_POST_MEM_SUPPORT
bool "Support POST drivers"
depends on SPL