diff options
author | Michael Walle <michael@walle.cc> | 2021-03-16 11:40:15 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-12 17:16:33 +0200 |
commit | 51d6820f49ca4a203cf30dd99bc83f25d569eb4b (patch) | |
tree | f7955ee2d8d27fb2b1325ad583ffce6f409a4fab /misc-utils/Makemodule.am | |
parent | 2ca0bbf296d6f7ce51b8255347c7fd08afa33651 (diff) |
mtd-utils: Add flash_otp_erase
On some SPI NOR flashes you can actually erase the OTP region until its
fully locked. Add a small utility for that.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils/Makemodule.am')
-rw-r--r-- | misc-utils/Makemodule.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index b15c119..bc69b1c 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -32,6 +32,8 @@ flash_otp_dump_SOURCES = misc-utils/flash_otp_dump.c flash_otp_lock_SOURCES = misc-utils/flash_otp_lock.c +flash_otp_erase_SOURCES = misc-utils/flash_otp_erase.c + flash_otp_write_SOURCES = misc-utils/flash_otp_write.c flashcp_SOURCES = misc-utils/flashcp.c @@ -43,7 +45,7 @@ sbin_PROGRAMS += \ ftl_format doc_loadbios ftl_check mtd_debug docfdisk \ serve_image recv_image fectest flash_erase flash_lock \ flash_unlock flash_otp_info flash_otp_dump flash_otp_lock \ - flash_otp_write flashcp mtdpart + flash_otp_erase flash_otp_write flashcp mtdpart MISC_SH = \ misc-utils/flash_eraseall |