]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/asm-m68k/m5249.h
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / include / asm-m68k / m5249.h
index facf0c90903cb4de2ca02051028fb957701dd05e..feb675c41bd5e0ba06f2394a61fc6ac34119b945 100644 (file)
 /*
  * useful definitions for reading/writing MBAR offset memory
  */
-#define mbar_readLong(x)       *((volatile unsigned long *) (CFG_MBAR + x))
-#define mbar_writeLong(x,y)    *((volatile unsigned long *) (CFG_MBAR + x)) = y
-#define mbar_writeShort(x,y)   *((volatile unsigned short *) (CFG_MBAR + x)) = y
-#define mbar_writeByte(x,y)    *((volatile unsigned char *) (CFG_MBAR + x)) = y
-#define mbar2_readLong(x)      *((volatile unsigned long *) (CFG_MBAR2 + x))
-#define mbar2_writeLong(x,y)   *((volatile unsigned long *) (CFG_MBAR2 + x)) = y
-#define mbar2_writeShort(x,y)  *((volatile unsigned short *) (CFG_MBAR2 + x)) = y
-#define mbar2_writeByte(x,y)   *((volatile unsigned char *) (CFG_MBAR2 + x)) = y
+#define mbar_readLong(x)       *((volatile unsigned long *) (CONFIG_SYS_MBAR + x))
+#define mbar_writeLong(x,y)    *((volatile unsigned long *) (CONFIG_SYS_MBAR + x)) = y
+#define mbar_writeShort(x,y)   *((volatile unsigned short *) (CONFIG_SYS_MBAR + x)) = y
+#define mbar_writeByte(x,y)    *((volatile unsigned char *) (CONFIG_SYS_MBAR + x)) = y
+#define mbar2_readLong(x)      *((volatile unsigned long *) (CONFIG_SYS_MBAR2 + x))
+#define mbar2_writeLong(x,y)   *((volatile unsigned long *) (CONFIG_SYS_MBAR2 + x)) = y
+#define mbar2_writeShort(x,y)  *((volatile unsigned short *) (CONFIG_SYS_MBAR2 + x)) = y
+#define mbar2_writeByte(x,y)   *((volatile unsigned char *) (CONFIG_SYS_MBAR2 + x)) = y
 
 /*
  * Size of internal RAM