blob: d62a6b23cddc48d93cd52aa8570d34f1a78e2a19 [file] [log] [blame]
#!/bin/sh
# Get the mtd device number for pnor
pnor=`grep pnor /proc/mtd |cut -c 4`
# Format the pnor mtd device as ubi
echo "Starting ubiformat /dev/mtd$pnor"
ubiformat /dev/mtd$pnor -y -q