summaryrefslogtreecommitdiff
path: root/board/freescale/common/pq-mds-pib.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-07 22:50:41 -0400
committerTom Rini <trini@konsulko.com>2021-07-07 22:50:41 -0400
commitbfb5bfa3c58adc2ef5dbd1bb95b79b31e0dc221c (patch)
tree21753c7f94144a286584c1f631ad9bde89a1a438 /board/freescale/common/pq-mds-pib.c
parent7e58a3a148fb94e9ce09fb48d0ddd75c20ee7df9 (diff)
parent123dc510c6e79f0c94718e2e6b5e4074754aa629 (diff)
Merge branch '2021-07-07-remove-non-migrated-platforms'
- Remove a large number of platforms that did not migrate to DM_PCI or DM_USB by 2 years past the migration deadline and do not have a migration imminent.
Diffstat (limited to 'board/freescale/common/pq-mds-pib.c')
-rw-r--r--board/freescale/common/pq-mds-pib.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c
index 596cd0018c5..162c8a954f0 100644
--- a/board/freescale/common/pq-mds-pib.c
+++ b/board/freescale/common/pq-mds-pib.c
@@ -36,11 +36,7 @@ int pib_init(void)
i2c_write(0x26, 0x6, 1, &val8, 1);
val8 = 0x34;
i2c_write(0x26, 0x7, 1, &val8, 1);
-#if defined(CONFIG_TARGET_MPC832XEMDS)
- val8 = 0xf9; /* PMC2, PMC3 slot to PCI bus */
-#else
val8 = 0xf3; /* PMC1, PMC2, PMC3 slot to PCI bus */
-#endif
i2c_write(0x26, 0x2, 1, &val8, 1);
val8 = 0xff;
i2c_write(0x26, 0x3, 1, &val8, 1);
@@ -55,34 +51,9 @@ int pib_init(void)
eieio();
-#if defined(CONFIG_TARGET_MPC832XEMDS)
- printf("PCI 32bit bus on PMC2 &PMC3\n");
-#else
printf("PCI 32bit bus on PMC1 & PMC2 &PMC3\n");
#endif
-#endif
-
-#if defined(CONFIG_PQ_MDS_PIB_ATM)
-#if defined(CONFIG_TARGET_MPC832XEMDS)
- val8 = 0;
- i2c_write(0x26, 0x7, 1, &val8, 1);
- val8 = 0xf7;
- i2c_write(0x26, 0x3, 1, &val8, 1);
-
- val8 = 0;
- i2c_write(0x21, 0x6, 1, &val8, 1);
- i2c_write(0x21, 0x7, 1, &val8, 1);
-
- val8 = 0xdf;
- i2c_write(0x21, 0x2, 1, &val8, 1);
- val8 = 0xef;
- i2c_write(0x21, 0x3, 1, &val8, 1);
- eieio();
-
- printf("QOC3 ATM card on PMC1\n");
-#endif
-#endif
/* Reset to original I2C bus */
i2c_set_bus_num(orig_i2c_bus);
return 0;