]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/env/fw_env.config
fw_env: add NAND support
[karo-tx-uboot.git] / tools / env / fw_env.config
index 2432bd866c593d204d20083a7663b76dfc653a3d..0fe37c959a36f418d46bfb2159a169b3681b1741 100644 (file)
@@ -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