diff options
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr')
-rw-r--r-- | meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr new file mode 100644 index 0000000..207c7db --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | |||
@@ -0,0 +1,6 @@ | |||
1 | #flash_mmc has been renamed to flash_blk, ensure compatibilty when updating from older versions | ||
2 | test -n ${interface} || setenv interface mmc | ||
3 | test -n ${drive} || setenv drive 1 | ||
4 | |||
5 | fatload ${interface} ${drive}:1 ${loadaddr} flash_blk.img | ||
6 | source ${loadaddr} | ||