]> git.sur5r.net Git - u-boot/blobdiff - lib/asm-offsets.c
MX5: Add AHB clock reporting and fix IPG clock reporting
[u-boot] / lib / asm-offsets.c
index 4eb61747c4fc7cfba03fc23b991d80f99ff5d45e..c88f5d445137066f1322ca2704633625c0e7540b 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;
 }