mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mtd: add support for rewriting the fis table layout on redboot based systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17659 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
14
package/mtd/src/fis.h
Normal file
14
package/mtd/src/fis.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef __FIS_H
|
||||
#define __FIS_H
|
||||
|
||||
struct fis_part {
|
||||
unsigned char name[16];
|
||||
uint32_t offset;
|
||||
uint32_t loadaddr;
|
||||
uint32_t size;
|
||||
};
|
||||
|
||||
int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
|
||||
int fis_remap(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user