AK3: fix no_block_display behaviour with flash_generic (#65)
This commit is contained in:
1 parent
af9b68cd4c
commit
3e99a63e92
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -443,7 +443,9 @@ flash_generic() {
|
||||
fi;
|
||||
isro=$(blockdev --getro $imgblock 2>/dev/null);
|
||||
blockdev --setrw $imgblock 2>/dev/null;
|
||||
ui_print " " "$imgblock";
|
||||
if [ ! "$no_block_display" ]; then
|
||||
ui_print " " "$imgblock";
|
||||
fi;
|
||||
if [ -f "$bin/flash_erase" -a -f "$bin/nandwrite" ]; then
|
||||
$bin/flash_erase $imgblock 0 0;
|
||||
$bin/nandwrite -p $imgblock $img;
|
||||
|
||||
Reference in new issue
Block a user