]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/common/pq-mds-pib.c
ppc/85xx: Add PIB/ATM support for MPC8569mds
[karo-tx-uboot.git] / board / freescale / common / pq-mds-pib.c
index e4f96e8848dbff691d60a0197dd834ae527958f7..5f7a67d057d57938c66145c2d522a803d619257a 100644 (file)
@@ -12,8 +12,6 @@
 #include <i2c.h>
 #include <asm/io.h>
 
-#ifdef CONFIG_PQ_MDS_PIB
-
 #include "pq-mds-pib.h"
 
 int pib_init(void)
@@ -65,7 +63,7 @@ int pib_init(void)
 #endif
 
 #if defined(CONFIG_PQ_MDS_PIB_ATM)
-#if defined(CONFIG_MPC8360EMDS)
+#if defined(CONFIG_MPC8360EMDS) || defined(CONFIG_MPC8569MDS)
        val8 = 0;
        i2c_write(0x20, 0x6, 1, &val8, 1);
        i2c_write(0x20, 0x7, 1, &val8, 1);
@@ -102,4 +100,3 @@ int pib_init(void)
        i2c_set_bus_num(orig_i2c_bus);
        return 0;
 }
-#endif /* CONFIG_PQ_MDS_PIB */