blob: 9135cabbc0fdf6fd0a2bec37210d0c2e6a62ad12 [file] [log] [blame]
developerfc05f9d2022-05-06 13:09:53 +08001// SPDX-License-Identifier: GPL-2.0
2
3#ifndef __FIS_H
4#define __FIS_H
5
6struct fis_part {
7 unsigned char name[16];
8 uint32_t offset;
9 uint32_t loadaddr;
10 uint32_t size;
11 uint32_t length;
12 uint32_t crc;
13};
14
15int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
16int fis_remap(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
17
18#endif