]> git.sur5r.net Git - u-boot/commitdiff
nitrogen6x: config: use FS_GENERIC load command
authorKevin Mihelich <kevin@archlinuxarm.org>
Thu, 2 Oct 2014 19:16:42 +0000 (12:16 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 6 Oct 2014 15:57:22 +0000 (17:57 +0200)
Remove the individual attempts to load using ext2 and fat, replace with the
generic load command supporting available filesystem types.

Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
include/configs/nitrogen6x.h

index 21a25e073404987f5f1284a36f5144a13fb91f86..2167d77a3803b58f95af6d37a06c8d8bc967c74d 100644 (file)
                                "usb start ;" \
                        "fi; " \
                        "for disk in 0 1 ; do ${dtype} dev ${disk} ;" \
-                               "for fs in fat ext2 ; do " \
-                                       "${fs}load " \
-                                               "${dtype} ${disk}:1 " \
-                                               "10008000 " \
-                                               "/6x_bootscript" \
-                                               "&& source 10008000 ; " \
-                               "done ; " \
+                               "load " \
+                                       "${dtype} ${disk}:1 " \
+                                       "10008000 " \
+                                       "/6x_bootscript" \
+                                       "&& source 10008000 ; " \
                        "done ; " \
                "done; " \
                "setenv stdout serial,vga ; " \
        "upgradeu=for dtype in ${bootdevs}" \
                "; do " \
                "for disk in 0 1 ; do ${dtype} dev ${disk} ;" \
-                    "for fs in fat ext2 ; do " \
-                               "${fs}load ${dtype} ${disk}:1 10008000 " \
-                                       "/6x_upgrade " \
-                                       "&& source 10008000 ; " \
-                       "done ; " \
+                       "load ${dtype} ${disk}:1 10008000 " \
+                               "/6x_upgrade " \
+                               "&& source 10008000 ; " \
                "done ; " \
        "done\0" \