diff options
author | Ash Charles <ashcharles@gmail.com> | 2016-05-05 18:58:06 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-06 01:32:18 (GMT) |
commit | ea948590a3e0bd08021f110db9784a6d201ea810 (patch) | |
tree | 58a23cac3e6bb009e42a3857a0ca9e8a4beae4ef | |
parent | bbca7108db79076d3a9a9c112792d7c4608a665c (diff) | |
download | u-boot-ea948590a3e0bd08021f110db9784a6d201ea810.tar.xz |
omap4: load files for legacy boot
Be sure to load the zImage and fdtfile prior to actually booting in
case we are doing a legacy boot.
Signed-off-by: Ash Charles <ashcharles@gmail.com>
-rw-r--r-- | include/configs/ti_omap4_common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 586d848..5fad3c1 100644 --- a/include/configs/ti_omap4_common.h +++ b/include/configs/ti_omap4_common.h @@ -122,7 +122,10 @@ "loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \ "mmcboot=echo Booting from mmc${mmcdev} ...; " \ "run args_mmc; " \ - "bootz ${loadaddr} - ${fdtaddr}\0" \ + "if run loadimage; then " \ + "run loadfdt; " \ + "bootz ${loadaddr} - ${fdtaddr}; " \ + "fi;\0" \ "uimageboot=echo Booting from mmc${mmcdev} ...; " \ "run args_mmc; " \ "bootm ${loadaddr}\0" \ |