diff options
author | Kimmo Surakka <kimmo.surakka@ge.com> | 2016-05-24 15:56:23 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-06-07 18:13:07 +0200 |
commit | f6825e4a449f83517742de00c56ef6ce4fda8f5a (patch) | |
tree | 996d1311d9110809cdd3b7f5215ed9131b447443 /include/configs | |
parent | f1249119bfc2e11f6c65f21d62e85f70aca46887 (diff) | |
download | u-boot-f6825e4a449f83517742de00c56ef6ce4fda8f5a.tar.gz |
board: ge: bx50v3: add missing partnum variable
Add missing ${partnum} to set rootdev correctly when
booting from USB or MMC.
Signed-off-by: Kimmo Surakka <kimmo.surakka@ge.com>
[Rebased against v2016.05 and adjusted the variable name]
Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ge_bx50v3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index 98f20c6daa..40334601a3 100644 --- a/include/configs/ge_bx50v3.h +++ b/include/configs/ge_bx50v3.h @@ -228,12 +228,12 @@ #define CONFIG_MMCBOOTCOMMAND \ "setenv dev mmc; " \ - "setenv rootdev mmcblk0p1; " \ + "setenv rootdev mmcblk0p${partnum}; " \ \ "setenv devnum ${sddev}; " \ "if mmc dev ${devnum}; then " \ "run tryboot; " \ - "setenv rootdev mmcblk1p1; " \ + "setenv rootdev mmcblk1p${partnum}; " \ "fi; " \ \ "setenv devnum ${emmcdev}; " \ @@ -245,7 +245,7 @@ "usb start; " \ "setenv dev usb; " \ "setenv devnum 0; " \ - "setenv rootdev sda1; " \ + "setenv rootdev sda${partnum}; " \ "run tryboot; " \ \ CONFIG_MMCBOOTCOMMAND \ |