summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Mihelich <kevin@archlinuxarm.org>2014-10-02 12:16:42 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:22 +0200
commit43a3431c2602ba7949c3bbb7a541396caa772c2c (patch)
treeb4b07922760612a8d3f1b05af885032bb465e839
parent5b7103e0af5435d68489b2b579e9e46226782e64 (diff)
downloadu-boot-imx-43a3431c2602ba7949c3bbb7a541396caa772c2c.zip
u-boot-imx-43a3431c2602ba7949c3bbb7a541396caa772c2c.tar.gz
u-boot-imx-43a3431c2602ba7949c3bbb7a541396caa772c2c.tar.bz2
nitrogen6x: config: use FS_GENERIC load command
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>
-rw-r--r--include/configs/nitrogen6x.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 21a25e0..2167d77 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -270,13 +270,11 @@
"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 ; " \
@@ -287,11 +285,9 @@
"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" \