.. index:: erase (command) .. _command_erase: erase - erase flash memory ========================== Usage ^^^^^ ``erase DEVICE [AREA]`` Synopsis ^^^^^^^^ Erase the flash memory handled by DEVICE. Which AREA will be erased depends on the device: If the device represents the whole flash memory, the whole memory will be erased. If the device represents a partition on a main flash memory, only this partition part will be erased. Use 'addpart' and 'delpart' to manage partitions. .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/flash.c .. command function: do_flerase