]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
fw_env.h: added a few missing defines
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 1 Dec 2011 03:30:04 +0000 (03:30 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 5 Jan 2012 15:07:42 +0000 (16:07 +0100)
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>
tools/env/fw_env.h

index 9258c796d87a56b7ffa25023ee8c58f50cb07c01..2dcb373b62f95be3b49238b5fe98b030b92819c5 100644 (file)
 #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     */