aboutsummaryrefslogtreecommitdiffstats
path: root/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
diff options
context:
space:
mode:
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr')
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
index 152982c2..0c16652e 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
+++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
@@ -1,6 +1,6 @@
#flash_mmc has been renamed to flash_blk, ensure compatibility when updating from older versions
test -n ${interface} || setenv interface mmc
-test -n ${drive} || setenv drive 1
+test -n ${drive} || setenv drive 0
fatload ${interface} ${drive}:1 ${loadaddr} flash_blk.img
source ${loadaddr}