u-boot-brain/arch
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
..
arc arc: Add support for HS Development Kit board 2017-06-29 19:34:10 +03:00
arm configs: Migrate RBTREE, LZO, CMD_MTDPARTS, CMD_UBI and CMD_UBIFS 2017-07-24 20:35:55 -04:00
m68k spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
microblaze microblaze: Build only DTBs for selected target 2017-06-19 15:52:39 +02:00
mips MIPS: bootm: Fix broken boot_env_legacy codepath 2017-07-25 20:44:00 +02:00
nds32 nds32: Remove include files from common.h 2017-06-05 11:02:36 -04:00
nios2 fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
powerpc configs: Migrate RBTREE, LZO, CMD_MTDPARTS, CMD_UBI and CMD_UBIFS 2017-07-24 20:35:55 -04:00
sandbox sandbox: Stop printing platdata at the start of SPL 2017-07-11 10:08:20 -06:00
sh sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
x86 x86: Move link to use driver model for SCSI 2017-07-11 10:08:19 -06:00
xtensa board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig configs: Migrate RBTREE, LZO, CMD_MTDPARTS, CMD_UBI and CMD_UBIFS 2017-07-24 20:35:55 -04:00