summaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-01 03:30:04 +0000
committerWolfgang Denk <wd@denx.de>2012-01-05 16:07:42 +0100
commit5d5cc384613e6182140101e7e1b0ee3d849291d1 (patch)
treebae50df3a31eb0cf2b077a1d849a2f7e612491f6 /tools/env
parentbf34e7d952939b1d4289ef62e7d940fbd227c72a (diff)
downloadu-boot-imx-5d5cc384613e6182140101e7e1b0ee3d849291d1.zip
u-boot-imx-5d5cc384613e6182140101e7e1b0ee3d849291d1.tar.gz
u-boot-imx-5d5cc384613e6182140101e7e1b0ee3d849291d1.tar.bz2
fw_env.h: added a few missing defines
The README file lists 4 defined that were not actually present in the .h file but that were needed to get things working with settings compiled in. They are Added these to the .h file (the values above are the ones from the README file) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'tools/env')
-rw-r--r--tools/env/fw_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
index 9258c79..2dcb373 100644
--- a/tools/env/fw_env.h
+++ b/tools/env/fw_env.h
@@ -34,8 +34,12 @@
#define DEVICE2_NAME "/dev/mtd2"
#define DEVICE1_OFFSET 0x0000
#define ENV1_SIZE 0x4000
+#define DEVICE1_ESIZE 0x4000
+#define DEVICE1_ENVSECTORS 2
#define DEVICE2_OFFSET 0x0000
#define ENV2_SIZE 0x4000
+#define DEVICE2_ESIZE 0x4000
+#define DEVICE2_ENVSECTORS 2
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */