public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fw_env.h: added a few missing defines
@ 2011-12-01 13:30 Frans Meulenbroeks
  2011-12-01 15:21 ` Andreas Bießmann
  0 siblings, 1 reply; 6+ messages in thread
From: Frans Meulenbroeks @ 2011-12-01 13:30 UTC (permalink / raw)
  To: u-boot

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 |    4 ++++
 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	*/
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [U-Boot] [PATCH] fw_env.h: added a few missing defines
@ 2012-01-02 13:47 Frans Meulenbroeks
  2012-01-05 15:07 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Frans Meulenbroeks @ 2012-01-02 13:47 UTC (permalink / raw)
  To: u-boot

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>
---
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(-)

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	*/
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-05 15:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 13:30 [U-Boot] [PATCH] fw_env.h: added a few missing defines Frans Meulenbroeks
2011-12-01 15:21 ` Andreas Bießmann
2011-12-02  8:24   ` Frans Meulenbroeks
2011-12-02 10:13     ` Andreas Bießmann
  -- strict thread matches above, loose matches on Subject: below --
2012-01-02 13:47 Frans Meulenbroeks
2012-01-05 15:07 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox