projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i.mx28: Added register definitions for DIGCTL registers
[oweals/u-boot.git]
/
lib
/
asm-offsets.c
diff --git
a/lib/asm-offsets.c
b/lib/asm-offsets.c
index 4eb61747c4fc7cfba03fc23b991d80f99ff5d45e..c88f5d445137066f1322ca2704633625c0e7540b 100644
(file)
--- a/
lib/asm-offsets.c
+++ b/
lib/asm-offsets.c
@@
-21,5
+21,12
@@
int main(void)
{
+ /* Round up to make sure size gives nice stack alignment */
+ DEFINE(GENERATED_GBL_DATA_SIZE,
+ (sizeof(struct global_data) + 15) & ~15);
+
+ DEFINE(GENERATED_BD_INFO_SIZE,
+ (sizeof(struct bd_info) + 15) & ~15);
+
return 0;
}