mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
c20ae2ffaa
commit
29d3bc793c
6 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_BOOTDELAY=3
|
|||
CONFIG_SPL=y
|
||||
CONFIG_SPL_NOR_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_SYS_OS_BASE=0xfc200000
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_LOOPW=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=3
|
|||
CONFIG_SPL=y
|
||||
CONFIG_SPL_NOR_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_SYS_OS_BASE=0xfc200000
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_LOOPW=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_SPL=y
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_NOR_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_SYS_OS_BASE=0x2c060000
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="U-Boot-mONStR> "
|
||||
CONFIG_CMD_ASKENV=y
|
||||
|
|
|
@ -330,7 +330,6 @@
|
|||
|
||||
#undef CONFIG_BOOTARGS
|
||||
|
||||
#define CONFIG_SYS_OS_BASE 0xfc200000
|
||||
#define CONFIG_SYS_FDT_BASE 0xfc1e0000
|
||||
#define CONFIG_SYS_FDT_SIZE (16<<10)
|
||||
|
||||
|
|
|
@ -293,8 +293,6 @@
|
|||
|
||||
/* for booting directly linux */
|
||||
|
||||
#define CONFIG_SYS_OS_BASE (CONFIG_SYS_FLASH_BASE + \
|
||||
0x60000)
|
||||
#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_FLASH_BASE + \
|
||||
0x40000)
|
||||
#define CONFIG_SYS_FDT_SIZE (16<<10)
|
||||
|
|
Loading…
Reference in a new issue