X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fasm-generic%2Fglobal_data.h;h=edde9d7dd0ee1a119f1b21094642df493e9b4dbe;hb=ab7cd62790c4f7831b91eab8a2ec81742d01bb54;hp=2850ed8a69f486000a6fb435928757739b4d2033;hpb=54c5d08a09e631f88738db54c75395c6457c2157;p=karo-tx-uboot.git diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 2850ed8a69..edde9d7dd0 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -65,7 +65,8 @@ typedef struct global_data { struct global_data *new_gd; /* relocated global data */ #ifdef CONFIG_DM - struct udevice *dm_root;/* Root instance for Driver Model */ + struct udevice *dm_root; /* Root instance for Driver Model */ + struct udevice *dm_root_f; /* Pre-relocation root instance */ struct list_head uclass_root; /* Head of core tree */ #endif @@ -85,6 +86,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