]> git.sur5r.net Git - u-boot/blobdiff - board/muas3001/muas3001.c
muas3001: update BR4 settings
[u-boot] / board / muas3001 / muas3001.c
index 0ec451fbd5515a2827dd7cc00582b164e8446711..157c72d1546359e4a3e57524cf59924efddbaaa3 100644 (file)
@@ -163,8 +163,13 @@ const iop_conf_t iop_conf_tab[4][32] = {
        /* PD18 */ { 0,          0,   0,   0,   0,   0 }, /* PD18            */
        /* PD17 */ { 0,          0,   0,   0,   0,   0 }, /* PD17            */
        /* PD16 */ { 0,          0,   0,   0,   0,   0 }, /* PD16            */
-       /* PD15 */ { 1,          1,   1,   0,   0,   0 }, /* I2C SDA         */
-       /* PD14 */ { 1,          1,   1,   0,   0,   0 }, /* I2C SCL         */
+#if defined(CONFIG_HARD_I2C)
+       /* PD15 */ { 1,          1,   1,   0,   1,   0 }, /* I2C SDA         */
+       /* PD14 */ { 1,          1,   1,   0,   1,   0 }, /* I2C SCL         */
+#else
+       /* PD15 */ { 1,          0,   0,   0,   1,   1 }, /* PD15            */
+       /* PD14 */ { 1,          0,   0,   1,   1,   1 }, /* PD14            */
+#endif
        /* PD13 */ { 0,          0,   0,   0,   0,   0 }, /* PD13            */
        /* PD12 */ { 0,          0,   0,   0,   0,   0 }, /* PD12            */
        /* PD11 */ { 0,          0,   0,   0,   0,   0 }, /* PD11            */