summaryrefslogtreecommitdiff
path: root/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr')
-rw-r--r--recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr
index 6ed07dc..9346761 100644
--- a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr
+++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr
@@ -1,5 +1,5 @@
-test -n ${drive} || setenv drive 1
test -n ${interface} || setenv interface mmc
+test -n ${drive} || setenv drive 1
setenv prepare_rootfs 'ubi part ubi && ubi check rootfs || ubi create rootfs'
setenv update_configblock 'load ${interface} 0:1 ${loadaddr} configblock.bin && nand erase.part cfgblock && nand write ${loadaddr} cfgblock ${filesize}'