]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/netta/codec.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / board / netta / codec.c
index 01ab14bc5209700678b4e5f6c500a640b1ab919c..844aa184aa3c8be6b9b00c6c2955491ef4bbdb21 100644 (file)
 
 /************************************************/
 
-#define PORTB          (((volatile immap_t *)CFG_IMMR)->im_cpm.cp_pbdat)
-#define PORTC          (((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pcdat)
-#define PORTD          (((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pddat)
+#define PORTB          (((volatile immap_t *)CONFIG_SYS_IMMR)->im_cpm.cp_pbdat)
+#define PORTC          (((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pcdat)
+#define PORTD          (((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat)
 
 #define _PORTD_SET(mask, state) \
        do { \