]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/asm-m68k/m5271.h
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / include / asm-m68k / m5271.h
index be343987f28c6bd8ec45568cbec84daf1d89bd91..000f0a5e97a0dfb2d6d027a08be4cc87e7029711 100644 (file)
 #ifndef        _MCF5271_H_
 #define        _MCF5271_H_
 
-#define mbar_readLong(x)       *((volatile unsigned long *) (CFG_MBAR + x))
-#define mbar_readShort(x)      *((volatile unsigned short *) (CFG_MBAR + x))
-#define mbar_readByte(x)       *((volatile unsigned char *) (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 mbar_readLong(x)       *((volatile unsigned long *) (CONFIG_SYS_MBAR + x))
+#define mbar_readShort(x)      *((volatile unsigned short *) (CONFIG_SYS_MBAR + x))
+#define mbar_readByte(x)       *((volatile unsigned char *) (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 MCF_FMPLL_SYNCR                                0x120000
 #define MCF_FMPLL_SYNSR                                0x120004