u-boot/arch/mips
Zubair Lutfullah Kakakhel 48bfc31b64 MIPS: bootm: Fix broken boot_env_legacy codepath
This patch fixes 2 bugs introduced by the following commit

2bb5b63 MIPS: bootm: rework and fix broken bootm code

The CONFIG_IS_ENABLED macro prepends 'CONFIG_' Hence, remove CONFIG_
from CONFIG_MIPS_BOOT_ENV_LEGACY usage.

Also, 2bb5b63 reworks bootm so that linux_env_legacy runs before
linux_cmdline_legacy. However, linux_env_legacy depends on
linux_cmdline_legacy running first as linux_cmdline_init initialilzes
linux_argp which linux_env_legacy later depends on during its
initialization.

Reorder the code so that linux_cmdline_legacy runs before
linux_env_legacy.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
2017-07-25 20:44:00 +02:00
..
cpu MIPS: Stop building position independent code 2017-07-25 20:44:00 +02:00
dts mips: bmips: fix BCM3380 periph clock frequency 2017-05-31 15:45:29 +02:00
include/asm MIPS: Stop building position independent code 2017-07-25 20:44:00 +02:00
lib MIPS: bootm: Fix broken boot_env_legacy codepath 2017-07-25 20:44:00 +02:00
mach-ath79 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
mach-au1x00 Fix spelling of "resetting". 2016-10-31 10:13:17 -04:00
mach-bmips mips: bmips: add board descriptions 2017-05-31 14:49:55 +02:00
mach-pic32 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
config.mk MIPS: Stop building position independent code 2017-07-25 20:44:00 +02:00
Kconfig boston: Setup memory ranges in FDT provided to Linux 2017-05-12 13:29:50 +02:00
Makefile MIPS: add initial infrastructure for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
Makefile.postlink MIPS: Stop building position independent code 2017-07-25 20:44:00 +02:00