]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/nds32/include/asm/global_data.h
nds32: Drop tlb_addr from global data
[karo-tx-uboot.git] / arch / nds32 / include / asm / global_data.h
index b1feb2c0d0fc05558c9cb69a7ad00e3637a5d564..e693b0197392cdf8eca93ca35d340f110e63b4fc 100644 (file)
 
 #ifndef        __ASM_GBL_DATA_H
 #define __ASM_GBL_DATA_H
+
+/* Architecture-specific global data */
+struct arch_global_data {
+};
+
 /*
  * The following data structure is placed in some memory wich is
  * available very early after boot (like DPRAM on MPC8xx/MPC82xx, or
@@ -57,12 +62,10 @@ typedef     struct global_data {
        unsigned long   mon_len;        /* monitor len */
        unsigned long   irq_sp;         /* irq stack pointer */
        unsigned long   start_addr_sp;  /* start_addr_stackpointer */
-#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
-       unsigned long   tlb_addr;
-#endif
 
        void            **jt;           /* jump table */
        char            env_buf[32];    /* buffer for getenv() before reloc. */
+       struct arch_global_data arch;   /* architecture-specific data */
 } gd_t;
 
 #include <asm-generic/global_data_flags.h>