summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-08-01 10:12:52 -0700
committerDominik Sliwa <dominik.sliwa@toradex.com>2016-08-17 14:08:52 +0200
commit675bead8e167214d62b3e14c40bfbf335ea378e4 (patch)
treea2ddd5c8087d02df157523ad9d9ad272c7189917 /recipes-bsp/u-boot/files
parent58b16c6cc543b49b0a02785c6be30adea491e156 (diff)
u-boot-fw-utils: correct blocks reserved for environment
While we use only one erase block for the U-Boot environment, we reserve four in case there are bad blocks in the environment area. Specify the number of blocks so that the Linux utilities are able to read/write the environment even if the first block of the environment is bad. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/files')
-rw-r--r--recipes-bsp/u-boot/files/colibri-mx7/fw_env.config2
-rw-r--r--recipes-bsp/u-boot/files/vf/fw_env.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config
index 100b66d..de614bb 100644
--- a/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config
+++ b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config
@@ -7,5 +7,5 @@
# MTD device name Device offset Env. size Flash sector size Number of sectors
# Colibri iMX7
-/dev/mtd2 0x00000000 0x00020000 0x20000 1
+/dev/mtd2 0x00000000 0x00020000 0x20000 4
diff --git a/recipes-bsp/u-boot/files/vf/fw_env.config b/recipes-bsp/u-boot/files/vf/fw_env.config
index fad5e93..c1581ea 100644
--- a/recipes-bsp/u-boot/files/vf/fw_env.config
+++ b/recipes-bsp/u-boot/files/vf/fw_env.config
@@ -7,5 +7,5 @@
# MTD device name Device offset Env. size Flash sector size Number of sectors
# Colibri VF61
-/dev/mtd2 0x00000000 0x00020000 0x20000 1
+/dev/mtd2 0x00000000 0x00020000 0x20000 4