From: Mike Frysinger Date: Fri, 24 Dec 2010 17:57:23 +0000 (-0500) Subject: asm-offsets: generate bd_t size X-Git-Tag: v2011.03-rc1~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89c95f0cd3f8140f3b8a82a22a6a144c148d09c6;p=u-boot 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 --- 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; }