]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/asm-generic/global_data.h
Add a simple malloc() implementation for pre-relocation
[karo-tx-uboot.git] / include / asm-generic / global_data.h
index 2850ed8a69f486000a6fb435928757739b4d2033..f6a2a2068a49c38575d0fc3422e37526525d261d 100644 (file)
@@ -85,6 +85,11 @@ typedef struct global_data {
 #endif
        unsigned long timebase_h;
        unsigned long timebase_l;
+#ifdef CONFIG_SYS_MALLOC_F_LEN
+       unsigned long malloc_base;      /* base address of early malloc() */
+       unsigned long malloc_limit;     /* limit address */
+       unsigned long malloc_ptr;       /* current address */
+#endif
        struct arch_global_data arch;   /* architecture-specific data */
 } gd_t;
 #endif