diff options
author | Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> | 2017-07-11 16:47:51 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2017-07-25 20:44:00 +0200 |
commit | 48bfc31b6484398e53095205b799cca7c4640335 (patch) | |
tree | 977a445129853789872bf7011c89d4326928e7f1 /configs/chromebook_link64_defconfig | |
parent | 703ec9ddf965063cd79910df281657b056879368 (diff) | |
download | u-boot-48bfc31b6484398e53095205b799cca7c4640335.tar.gz u-boot-48bfc31b6484398e53095205b799cca7c4640335.tar.xz u-boot-48bfc31b6484398e53095205b799cca7c4640335.zip |
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>
Diffstat (limited to 'configs/chromebook_link64_defconfig')
0 files changed, 0 insertions, 0 deletions