]> git.sur5r.net Git - u-boot/blobdiff - arch/nios2/include/asm/global_data.h
Merge branch 'avr32' of git://git.denx.de/u-boot-atmel
[u-boot] / arch / nios2 / include / asm / global_data.h
index 34aa96277adec03ce8e68be936126942cc622545..f1b348293ffe423397f48c0d8c7ad33838b39906 100644 (file)
@@ -48,6 +48,6 @@ typedef       struct  global_data {
 #define        GD_FLG_LOGINIT  0x00020         /* Log Buffer has been initialized      */
 #define GD_FLG_DISABLE_CONSOLE 0x00040         /* Disable console (in & out)    */
 
-#define DECLARE_GLOBAL_DATA_PTR     register gd_t *gd asm ("r15")
+#define DECLARE_GLOBAL_DATA_PTR     register gd_t *gd asm ("gp")
 
 #endif /* __ASM_NIOS2_GLOBALDATA_H_ */