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

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
chip/stable
Boris Brezillon 7 years ago
parent 84b146dec5
commit 3e8640c6b3
  1. 2
      chip-fel-flash.sh

@ -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

Loading…
Cancel
Save