diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2013-02-26 04:54:19 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-04 14:19:56 -0500 |
commit | 59af76d9ccccea43b9e07d78291bdf99e759c59a (patch) | |
tree | fef0cca9bbf662849ae3a09fae9bb221c9331595 | |
parent | 18a3cce9fa9030e0e1fe0678ddcd0ae84d9423ca (diff) | |
download | u-boot-imx-59af76d9ccccea43b9e07d78291bdf99e759c59a.zip u-boot-imx-59af76d9ccccea43b9e07d78291bdf99e759c59a.tar.gz u-boot-imx-59af76d9ccccea43b9e07d78291bdf99e759c59a.tar.bz2 |
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>
-rw-r--r-- | common/cmd_bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index b32991d..2e93352 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -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) |