mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 05:01:30 +00:00
bootm: fix conditional compilation for bootm ramdisk subcommand
All code related to the bootm ramdisk subcommand is conditionally enabled by CONFIG_SYS_BOOT_RAMDISK_HIGH except for the help message. Replace the CONFIG_ARCH defines by CONFIG_SYS_BOOT_RAMDISK_HIGH to fix this. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
parent
18a3cce9fa
commit
59af76d9cc
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ static char bootm_help_text[] =
|
|||
"issued in the order below (it's ok to not issue all sub-commands):\n"
|
||||
"\tstart [addr [arg ...]]\n"
|
||||
"\tloados - load OS image\n"
|
||||
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
|
||||
#if defined(CONFIG_SYS_BOOT_RAMDISK_HIGH)
|
||||
"\tramdisk - relocate initrd, set env initrd_start/initrd_end\n"
|
||||
#endif
|
||||
#if defined(CONFIG_OF_LIBFDT)
|
||||
|
|
Loading…
Add table
Reference in a new issue