wdenk | d0fb80c | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 1 | # Configuration file for fw_(printenv/saveenv) utility. |
Martin Michlmayr | 2252577 | 2008-08-06 14:44:05 +0300 | [diff] [blame] | 2 | # Up to two entries are valid, in this case the redundant |
wdenk | d0fb80c | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 3 | # environment sector is assumed present. |
Remy Bohmer | 9eeaa8e | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 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 |
wdenk | d0fb80c | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 7 | |
Remy Bohmer | 9eeaa8e | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 8 | # NOR example |
Guennadi Liakhovetski | 5608692 | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 9 | # MTD device name Device offset Env. size Flash sector size Number of sectors |
wdenk | d0fb80c | 2003-01-11 09:48:40 +0000 | [diff] [blame] | 10 | /dev/mtd1 0x0000 0x4000 0x4000 |
| 11 | /dev/mtd2 0x0000 0x4000 0x4000 |
Guennadi Liakhovetski | 5608692 | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 12 | |
Remy Bohmer | 9eeaa8e | 2011-02-12 19:06:26 +0100 | [diff] [blame] | 13 | # 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 Liakhovetski | 5608692 | 2008-09-04 13:01:49 +0200 | [diff] [blame] | 18 | # NAND example |
| 19 | #/dev/mtd0 0x4000 0x4000 0x20000 2 |