summaryrefslogtreecommitdiff
path: root/tools/env/fw_env.config
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-09-04 13:01:49 +0200
committerWolfgang Denk <wd@denx.de>2008-09-09 10:39:55 +0200
commit5608692104efa8d56df803dc79ea41ac3607eee5 (patch)
tree30e525f6b744e89f7b9e8a9c4555abd73acb9bbf /tools/env/fw_env.config
parentdd794323a2a1ed6a8a5df51785c31bcde60ad7ca (diff)
downloadu-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.config6
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