]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/global_data.h
* Add support for PPChameleon Eval Board
[u-boot] / include / asm-ppc / global_data.h
index 4253020cb3fa1a7debedb4e97c4c6d40ec89907f..f17a764a1ab7f34caf3ea4d0416879bf35276870 100644 (file)
@@ -60,7 +60,7 @@ typedef       struct  global_data {
        unsigned int    dp_alloc_base;
        unsigned int    dp_alloc_top;
 #endif
-#if defined(CONFIG_EVB64260)
+#if defined(CFG_GT_6426x)
        unsigned int    mirror_hack[16];
 #endif
 #if defined(CONFIG_SANDPOINT) ||  \
@@ -88,6 +88,7 @@ typedef       struct  global_data {
 #ifdef CONFIG_LWMON
        unsigned long kbd_status;
 #endif
+       void            **jt;           /* jump table */
 } gd_t;
 
 /*
@@ -97,7 +98,7 @@ typedef       struct  global_data {
 #define        GD_FLG_DEVINIT  0x00002         /* Devices have been initialized        */
 
 #if 1
-#define DECLARE_GLOBAL_DATA_PTR     register gd_t *gd asm ("r29")
+#define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("r29")
 #else /* We could use plain global data, but the resulting code is bigger */
 #define XTRN_DECLARE_GLOBAL_DATA_PTR   extern
 #define DECLARE_GLOBAL_DATA_PTR     XTRN_DECLARE_GLOBAL_DATA_PTR \