projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: add CRC signature to RedBoot partition map
[openwrt/staging/chunkeey.git]
/
package
/
system
/
mtd
/
src
/
fis.h
diff --git
a/package/system/mtd/src/fis.h
b/package/system/mtd/src/fis.h
index bdf1103d8a435e44b4970fa4d041e21f6fd02b08..2be2cb1f04ce3cc62d534f9fa7f104f319e6e5de 100644
(file)
--- a/
package/system/mtd/src/fis.h
+++ b/
package/system/mtd/src/fis.h
@@
-6,6
+6,8
@@
struct fis_part {
uint32_t offset;
uint32_t loadaddr;
uint32_t size;
+ uint32_t length;
+ uint32_t crc;
};
int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new);