blob: fe09890c91f6a1930a8b4d53f2cf8cc449fd4650 [file] [log] [blame]
Brad Bishop0af63e42015-10-22 15:38:02 -05001# Configuration file for fw_(printenv/setenv) utility.
2# Up to two entries are valid, in this case the redundant
3# environment sector is assumed present.
4# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
5# Futhermore, if the Flash sector size is ommitted, this value is assumed to
6# be the same as the Environment size, which is valid for NOR and SPI-dataflash
7
8# NOR example
9# MTD device name Device offset Env. size Flash sector size Number of sectors
Milton D. Miller IIf1d00122016-01-20 15:28:27 -060010#/dev/mtd1 0x0000 0x20000 0x20000
Brad Bishop0af63e42015-10-22 15:38:02 -050011#/dev/mtd2 0x0000 0x4000 0x4000
12
13# MTD SPI-dataflash example
14# MTD device name Device offset Env. size Flash sector size Number of sectors
Milton D. Miller IIf1d00122016-01-20 15:28:27 -060015/dev/mtd2 0x00000 0x20000
Brad Bishop0af63e42015-10-22 15:38:02 -050016#/dev/mtd5 0x4200 0x4200
17#/dev/mtd6 0x4200 0x4200
18
19# NAND example
20#/dev/mtd0 0x4000 0x4000 0x20000 2
21
22# Block device example
23#/dev/mmcblk0 0xc0000 0x20000