xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunRedBoot FLASH Image System (FIS) Partitions
2*4882a593Smuzhiyun===========================================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe FLASH Image System (FIS) directory is a flash description
5*4882a593Smuzhiyunformat closely associated with the RedBoot boot loader.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunIt uses one single flash eraseblock in the flash to store an index of
8*4882a593Smuzhiyunall images in the flash.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunThis block size will vary depending on flash but is typically
11*4882a593Smuzhiyun32 KB in size.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunRequired properties:
14*4882a593Smuzhiyun- compatible : (required) must be "redboot-fis"
15*4882a593Smuzhiyun- fis-index-block : (required) a index to the eraseblock containing
16*4882a593Smuzhiyun  the FIS directory on this device. On a flash memory with 32KB
17*4882a593Smuzhiyun  eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
18*4882a593Smuzhiyun  second eraseblock at 0x00008000 and so on.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExample:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunflash@0 {
23*4882a593Smuzhiyun	partitions {
24*4882a593Smuzhiyun		compatible = "redboot-fis";
25*4882a593Smuzhiyun		fis-index-block = <0>;
26*4882a593Smuzhiyun	};
27*4882a593Smuzhiyun};
28