diff options
author | George Hopkins <george-hopkins@null.net> | 2017-10-28 14:08:38 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-02-13 11:16:49 +0100 |
commit | 520335506273ed248074f7b3d2ba8bec148dddaa (patch) | |
tree | 367b698bbfc8266a73b67e42d02a140bb42447e9 /package/system/mtd/src/mtd.h | |
parent | 5c7a58764e55d34317db2cfedb7206c634b4d7f6 (diff) | |
download | upstream-520335506273ed248074f7b3d2ba8bec148dddaa.tar.gz upstream-520335506273ed248074f7b3d2ba8bec148dddaa.tar.bz2 upstream-520335506273ed248074f7b3d2ba8bec148dddaa.zip |
mtd: add fixwrg command
Add a command to fix WRG headers, based on wrgg.c.
Signed-off-by: George Hopkins <george-hopkins@null.net>
Diffstat (limited to 'package/system/mtd/src/mtd.h')
-rw-r--r-- | package/system/mtd/src/mtd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/mtd.h b/package/system/mtd/src/mtd.h index 50a42da14b..0250a90e0b 100644 --- a/package/system/mtd/src/mtd.h +++ b/package/system/mtd/src/mtd.h @@ -27,6 +27,7 @@ extern int trx_fixup(int fd, const char *name) __attribute__ ((weak)); extern int trx_check(int imagefd, const char *mtd, char *buf, int *len) __attribute__ ((weak)); extern int mtd_fixtrx(const char *mtd, size_t offset, size_t data_size) __attribute__ ((weak)); extern int mtd_fixseama(const char *mtd, size_t offset, size_t data_size) __attribute__ ((weak)); +extern int mtd_fixwrg(const char *mtd, size_t offset, size_t data_size) __attribute__ ((weak)); extern int mtd_fixwrgg(const char *mtd, size_t offset, size_t data_size) __attribute__ ((weak)); extern int mtd_resetbc(const char *mtd) __attribute__ ((weak)); #endif /* __mtd_h */ |