aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mtd-utils
diff options
context:
space:
mode:
authorAdriĆ  Llaudet <adria.llaudet@gmail.com>2018-03-26 16:32:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-04-03 23:26:45 +0200
commit482bc646a55cbc277776e77e70e573af2fbef03d (patch)
tree61ce25e354f854f89aac2c176ad3c370a3d8248e /package/utils/mtd-utils
parentd674422a814a4458af35e79587129a161b50a1ff (diff)
downloadupstream-482bc646a55cbc277776e77e70e573af2fbef03d.tar.gz
upstream-482bc646a55cbc277776e77e70e573af2fbef03d.tar.bz2
upstream-482bc646a55cbc277776e77e70e573af2fbef03d.zip
nand-utils: add flash_erase utility
flash_erase utility allows to erase MTD partitions on NAND flash. Useful when you want to clean or write an MTD partition from scratch. e.g., before using kobs-ng to flashing SPL images it's recommended to erase the MTD partition to ensure it's empty. Signed-off-by: AdriĆ  Llaudet <adria.llaudet@gmail.com>
Diffstat (limited to 'package/utils/mtd-utils')
-rw-r--r--package/utils/mtd-utils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/utils/mtd-utils/Makefile b/package/utils/mtd-utils/Makefile
index e36eb4d526..1e3c281156 100644
--- a/package/utils/mtd-utils/Makefile
+++ b/package/utils/mtd-utils/Makefile
@@ -47,7 +47,7 @@ endef
define Package/nand-utils
$(call Package/mtd-utils/Default)
- TITLE:=Utilities for nand flash read/write/test
+ TITLE:=Utilities for nand flash erase/read/write/test
endef
define Package/nand-utils/description
@@ -72,7 +72,7 @@ endef
define Package/nand-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) \
- $(PKG_INSTALL_DIR)/usr/sbin/{nanddump,nandwrite,nandtest,mtdinfo} $(1)/usr/sbin/
+ $(PKG_INSTALL_DIR)/usr/sbin/{flash_erase,nanddump,nandwrite,nandtest,mtdinfo} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,ubi-utils))