summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-21 21:10:22 +0000
committerwdenk <wdenk>2005-04-21 21:10:22 +0000
commita63109281ad41b0fb489fdcb901171f76bcdbc2c (patch)
treec67b0f3d5c763294f73ab5962db97a4073e517b8 /include
parent7cc1438d433c5c5ee65fcb588a4d70acb117af82 (diff)
downloadu-boot-imx-a63109281ad41b0fb489fdcb901171f76bcdbc2c.zip
u-boot-imx-a63109281ad41b0fb489fdcb901171f76bcdbc2c.tar.gz
u-boot-imx-a63109281ad41b0fb489fdcb901171f76bcdbc2c.tar.bz2
Fix bug in the SDRAM initialization code for canmb, IceCube and
PM520 boards. Fix PHY address for canmb board.
Diffstat (limited to 'include')
-rw-r--r--include/configs/TQM8560.h9
-rw-r--r--include/configs/canmb.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/include/configs/TQM8560.h b/include/configs/TQM8560.h
index 4e395d5..f418e26 100644
--- a/include/configs/TQM8560.h
+++ b/include/configs/TQM8560.h
@@ -279,18 +279,17 @@
#define TSEC2_PHY_ADDR 1
#define TSEC2_PHYIDX 0
+#endif /* CONFIG_TSEC_ENET */
+
#define CONFIG_ETHER_ON_FCC
#define CONFIG_ETHER_ON_FCC3
#define CFG_CMXFCR_MASK3 (CMXFCR_FC3 | CMXFCR_RF3CS_MSK | CMXFCR_TF3CS_MSK)
-#define CFG_CMXFCR_VALUE3 (CMXFCR_RF2CS_CLK15 | CMXFCR_TF2CS_CLK14)
+#define CFG_CMXFCR_VALUE3 (CMXFCR_RF3CS_CLK15 | CMXFCR_TF3CS_CLK14)
#define CFG_CPMFCR_RAMTYPE 0
-#define CFG_FCC_PSMR (FCC_PSMR_FDE)
+#define CFG_FCC_PSMR (FCC_PSMR_FDE | FCC_PSMR_LPB)
#define CONFIG_ETHPRIME "ENET1"
-#endif /* CONFIG_TSEC_ENET */
-
-
/*
* Environment
*/
diff --git a/include/configs/canmb.h b/include/configs/canmb.h
index a8bea02..9b91d58 100644
--- a/include/configs/canmb.h
+++ b/include/configs/canmb.h
@@ -167,7 +167,7 @@
* Ethernet configuration
*/
#define CONFIG_MPC5xxx_FEC 1
-#define CONFIG_PHY_ADDR 0x1
+#define CONFIG_PHY_ADDR 0x0
/*
* GPIO configuration:
* PSC1,2,3 predefined as UART