Skip to contentSkip to conversation

fw_env.h: added a few missing defines

PATCH New Frans Meulenbroeks 2 participants 2 messages Jan 2, 2012 – Jan 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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)

---
Noticed this was not applied and still pending in my git tree Couldn't find a trace that I actually posted it so here it is (possibly again)

 tools/env/fw_env.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
tools/env/fw_env.h +4 -0
index 9258c79..2dcb373 100644
@@ -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	*/
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 fw_env.h: added a few missing defines

Dear Frans Meulenbroeks,

Quoted 6 lines · In message <[email protected]> you…

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)

Quoted 7 lines

---
Noticed this was not applied and still pending in my git tree Couldn't find a trace that I actually posted it so here it is (possibly again)

 tools/env/fw_env.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 9 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've been programming for (35-9=) 24 years myself,  and  I  find  the
best way to learn a new language is to *read* every example snippet I
can find, with a reference book close by. Eventually, the *rhythm* of
the language starts pounding in my head... and my fluency is close at
hand. That's how I learned Perl, and now I'm one of the drummers. :-)
         -- Randal L. Schwartz in <[email protected]>