chip-fel-flash.sh: pass -y when calling nand scrub

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
Boris Brezillon 2015-06-26 09:25:59 +02:00
parent 84b146dec5
commit 3e8640c6b3
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ prepare_images() {
prepare_uboot_script() {
if [ "$NAND_ERASE_BB" = true ] ; then
echo "nand scrub 0x0 0x200000000" > $UBOOT_SCRIPT_SRC
echo "nand scrub -y 0x0 0x200000000" > $UBOOT_SCRIPT_SRC
else
echo "nand erase 0x0 0x200000000" > $UBOOT_SCRIPT_SRC
fi