aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Ray2018-01-10 20:31:34 +0100
committerStefano Babic2018-02-04 12:00:58 +0100
commit78ca33508d90cff124e3a32897590bb7ffbd396d (patch)
tree05c932809cae206a72d829c15c3639dd19888728 /include
parentf07b3148d74b9859ddfa3de2dd5cacb504530f4f (diff)
config: ge_bx50v3: read boot script
Read boot script from shared partition, if available. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ge_bx50v3.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 62c14b725b7..605d92e8eeb 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -130,15 +130,15 @@
#define CONFIG_MMCBOOTCOMMAND \
"setenv dev mmc; " \
- "setenv rootdev mmcblk0p${partnum}; " \
+ "setenv devnum ${emmcdev}; " \
\
- "setenv devnum ${sddev}; " \
- "if mmc dev ${devnum}; then " \
- "run tryboot; " \
- "setenv rootdev mmcblk1p${partnum}; " \
+ "if ext2load ${dev} ${devnum}:5 0x7000A000 /boot/active/boot.img ; " \
+ "then " \
+ "source 0x7000A000; " \
"fi; " \
\
- "setenv devnum ${emmcdev}; " \
+ "setenv rootdev mmcblk0p${partnum}; " \
+ \
"if mmc dev ${devnum}; then " \
"run tryboot; " \
"fi; " \