summaryrefslogtreecommitdiffstats
path: root/meta-aspeed/recipes-bsp/u-boot/files/fw_env.config
diff options
context:
space:
mode:
authorDave Cobbley <david.j.cobbley@linux.intel.com>2018-08-14 13:30:07 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-22 21:26:37 -0400
commit4feb727cd6b77a68bdaca63e121b378d814f5eaf (patch)
tree871b558e24c63450a7a5c2eacda38cf21dbb21e8 /meta-aspeed/recipes-bsp/u-boot/files/fw_env.config
parenteb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (diff)
downloadtalos-openbmc-4feb727cd6b77a68bdaca63e121b378d814f5eaf.tar.gz
talos-openbmc-4feb727cd6b77a68bdaca63e121b378d814f5eaf.zip
[Subtree] Move board support packages to top level
The new subtree paradigm has moved the meta-bsp layers to the top level Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-aspeed/recipes-bsp/u-boot/files/fw_env.config')
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/files/fw_env.config25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-bsp/u-boot/files/fw_env.config b/meta-aspeed/recipes-bsp/u-boot/files/fw_env.config
new file mode 100644
index 000000000..19ace4b88
--- /dev/null
+++ b/meta-aspeed/recipes-bsp/u-boot/files/fw_env.config
@@ -0,0 +1,25 @@
+# Configuration file for fw_(printenv/setenv) utility.
+# Up to two entries are valid, in this case the redundant
+# environment sector is assumed present.
+# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
+# Furthermore, if the Flash sector size is omitted, this value is assumed to
+# be the same as the Environment size, which is valid for NOR and SPI-dataflash
+
+# NOR example
+# MTD device name Device offset Env. size Flash sector size Number of sectors
+#/dev/mtd1 0x0000 0x20000 0x20000
+#/dev/mtd2 0x0000 0x4000 0x4000
+
+# MTD SPI-dataflash example
+# MTD device name Device offset Env. size Flash sector size Number of sectors
+#/dev/mtd2 0x00000 0x20000
+/dev/mtd/u-boot-env 0x00000 0x10000
+/dev/mtd/u-boot-env 0x10000 0x10000
+#/dev/mtd5 0x4200 0x4200
+#/dev/mtd6 0x4200 0x4200
+
+# NAND example
+#/dev/mtd0 0x4000 0x4000 0x20000 2
+
+# Block device example
+#/dev/mmcblk0 0xc0000 0x20000
OpenPOWER on IntegriCloud