public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] asm-offsets: generate bd_t size
@ 2010-12-24 17:57 Mike Frysinger
  2011-01-09 17:08 ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2010-12-24 17:57 UTC (permalink / raw)
  To: u-boot

Some ports set up the board info structure at the same time as the global
data structure, and largely keep them together.  So generate a define for
the board info struct too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 lib/asm-offsets.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
index 2209561..6f253a6 100644
--- a/lib/asm-offsets.c
+++ b/lib/asm-offsets.c
@@ -25,5 +25,8 @@ int main(void)
 	DEFINE(GENERATED_GBL_DATA_SIZE,
 		(sizeof(struct global_data)+15) & ~15);
 
+	DEFINE(GENERATED_BD_INFO_SIZE,
+		(sizeof(struct bd_info)+15) & ~15);
+
 	return 0;
 }
-- 
1.7.3.4

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

end of thread, other threads:[~2011-01-10 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-24 17:57 [U-Boot] [PATCH] asm-offsets: generate bd_t size Mike Frysinger
2011-01-09 17:08 ` Wolfgang Denk
2011-01-10  7:50   ` Michal Simek
2011-01-10  9:41     ` Mike Frysinger
2011-01-10 10:57       ` Wolfgang Denk
2011-01-10 15:57       ` Michal Simek
2011-01-10 10:46     ` Wolfgang Denk
2011-01-10 16:04       ` Michal Simek

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