summaryrefslogtreecommitdiffstats
path: root/package/mtd/src/fis.h
blob: bdf1103d8a435e44b4970fa4d041e21f6fd02b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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