blob: 8e21d5a5ab3e35b7d81ea9f9f714acbc15716cfc [file] [log] [blame]
wdenke7f34c62003-01-11 09:48:40 +00001# Configuration file for fw_(printenv/saveenv) utility.
Martin Michlmayr5b4eba22008-08-06 14:44:05 +03002# Up to two entries are valid, in this case the redundant
wdenke7f34c62003-01-11 09:48:40 +00003# environment sector is assumed present.
Remy Bohmercb969eb2011-02-12 19:06:26 +01004# 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
wdenke7f34c62003-01-11 09:48:40 +00007
Remy Bohmercb969eb2011-02-12 19:06:26 +01008# NOR example
Guennadi Liakhovetskiffb379a2008-09-04 13:01:49 +02009# MTD device name Device offset Env. size Flash sector size Number of sectors
wdenke7f34c62003-01-11 09:48:40 +000010/dev/mtd1 0x0000 0x4000 0x4000
11/dev/mtd2 0x0000 0x4000 0x4000
Guennadi Liakhovetskiffb379a2008-09-04 13:01:49 +020012
Remy Bohmercb969eb2011-02-12 19:06:26 +010013# MTD SPI-dataflash example
14# MTD device name Device offset Env. size Flash sector size Number of sectors
15#/dev/mtd5 0x4200 0x4200
16#/dev/mtd6 0x4200 0x4200
17
Guennadi Liakhovetskiffb379a2008-09-04 13:01:49 +020018# NAND example
19#/dev/mtd0 0x4000 0x4000 0x20000 2