davinci_emac: compilation fix, phy is array now
[platform/kernel/u-boot.git] / lib / asm-offsets.c
index 4eb6174..c88f5d4 100644 (file)
 
 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;
 }