diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2010-12-24 12:57:23 -0500 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-01-09 18:08:20 +0100 | 
| commit | 89c95f0cd3f8140f3b8a82a22a6a144c148d09c6 (patch) | |
| tree | c310664f94e9d4dcbdec05dbb5790b551a392db7 | |
| parent | 8ef583a0351590a91394499eb5ca2ab8a703d959 (diff) | |
| download | olio-uboot-2014.01-89c95f0cd3f8140f3b8a82a22a6a144c148d09c6.tar.xz olio-uboot-2014.01-89c95f0cd3f8140f3b8a82a22a6a144c148d09c6.zip | |
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>
| -rw-r--r-- | 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 22095610f..6f253a636 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;  } |