projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[platform/kernel/u-boot.git]
/
lib
/
asm-offsets.c
diff --git
a/lib/asm-offsets.c
b/lib/asm-offsets.c
index
4eb6174
..
c88f5d4
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;
}