blob: 9d3b1a46927bf6724c65e269b2add4863691db3c [file] [log] [blame]
Robert P. J. Day7789df92013-01-31 02:06:40 +00001# Configuration file for fw_(printenv/setenv) utility.
Martin Michlmayr22525772008-08-06 14:44:05 +03002# Up to two entries are valid, in this case the redundant
wdenkd0fb80c2003-01-11 09:48:40 +00003# environment sector is assumed present.
Remy Bohmer9eeaa8e2011-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
wdenkd0fb80c2003-01-11 09:48:40 +00007
Remy Bohmer9eeaa8e2011-02-12 19:06:26 +01008# NOR example
Guennadi Liakhovetski56086922008-09-04 13:01:49 +02009# MTD device name Device offset Env. size Flash sector size Number of sectors
wdenkd0fb80c2003-01-11 09:48:40 +000010/dev/mtd1 0x0000 0x4000 0x4000
11/dev/mtd2 0x0000 0x4000 0x4000
Guennadi Liakhovetski56086922008-09-04 13:01:49 +020012
Remy Bohmer9eeaa8e2011-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 Liakhovetski56086922008-09-04 13:01:49 +020018# NAND example
19#/dev/mtd0 0x4000 0x4000 0x20000 2