summaryrefslogtreecommitdiff
path: root/lib/asm-offsets.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-24 12:57:23 -0500
committerWolfgang Denk <wd@denx.de>2011-01-09 18:08:20 +0100
commit89c95f0cd3f8140f3b8a82a22a6a144c148d09c6 (patch)
treec310664f94e9d4dcbdec05dbb5790b551a392db7 /lib/asm-offsets.c
parent8ef583a0351590a91394499eb5ca2ab8a703d959 (diff)
asm-offsets: generate bd_t size
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>
Diffstat (limited to 'lib/asm-offsets.c')
-rw-r--r--lib/asm-offsets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
index 22095610f9..6f253a6362 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;
}