projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef583a
)
asm-offsets: generate bd_t size
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 24 Dec 2010 17:57:23 +0000
(12:57 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 9 Jan 2011 17:08:20 +0000
(18:08 +0100)
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
patch
|
blob
|
history
diff --git
a/lib/asm-offsets.c
b/lib/asm-offsets.c
index 22095610f931d8ef3253d58f23f78f045be565b0..6f253a6362b360399f2e73ea720c24d54aef21e3 100644
(file)
--- 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;
}