Add support for environment in NAND with automatic NOR / NAND recognition, including unaligned environment, bad-block skipping, redundant environment copy. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>master
parent
dd794323a2
commit
5608692104
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,11 @@ |
||||
# Configuration file for fw_(printenv/saveenv) utility. |
||||
# Up to two entries are valid, in this case the redundand |
||||
# environment sector is assumed present. |
||||
# Notice, that the "Number of sectors" is ignored on NOR. |
||||
|
||||
# MTD device name Device offset Env. size Flash sector size |
||||
# MTD device name Device offset Env. size Flash sector size Number of sectors |
||||
/dev/mtd1 0x0000 0x4000 0x4000 |
||||
/dev/mtd2 0x0000 0x4000 0x4000 |
||||
|
||||
# NAND example |
||||
#/dev/mtd0 0x4000 0x4000 0x20000 2 |
||||
|
Loading…
Reference in new issue