From 89c95f0cd3f8140f3b8a82a22a6a144c148d09c6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Dec 2010 12:57:23 -0500 Subject: [PATCH] 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 --- lib/asm-offsets.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.5