diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-09-04 13:01:49 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-09 10:39:55 +0200 |
commit | 5608692104efa8d56df803dc79ea41ac3607eee5 (patch) | |
tree | 30e525f6b744e89f7b9e8a9c4555abd73acb9bbf /tools/env/fw_env.config | |
parent | dd794323a2a1ed6a8a5df51785c31bcde60ad7ca (diff) | |
download | u-boot-imx-5608692104efa8d56df803dc79ea41ac3607eee5.zip u-boot-imx-5608692104efa8d56df803dc79ea41ac3607eee5.tar.gz u-boot-imx-5608692104efa8d56df803dc79ea41ac3607eee5.tar.bz2 |
fw_env: add NAND support
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>
Diffstat (limited to 'tools/env/fw_env.config')
-rw-r--r-- | tools/env/fw_env.config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/env/fw_env.config b/tools/env/fw_env.config index 2432bd8..0fe37c9 100644 --- a/tools/env/fw_env.config +++ b/tools/env/fw_env.config @@ -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 |