# @name Perform flash_eraseall on spi device # @desc Use flash_eraseall to erase all partition # Partition number is specified in get_mtd_partition_number.sh # @requires spi_master/mtd SPI_M_FUNC_MTD_FLASH_ERASEALL source "common.sh"; install_modules.sh "spi"; mtd_flash_eraseall.sh -d "spi"