summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-04-03 20:10:20 +0000
committerWolfgang Denk <wd@denx.de>2011-04-28 00:52:09 +0200
commit1b41493defcf8940bce91859de16d7a956ebc569 (patch)
treef15cd645cd2ed7d3778281ae87378c35a7f9b3f6 /include/configs
parent9030a55ef3b82aca88d228692fdceffc4ca14aa2 (diff)
downloadu-boot-imx-1b41493defcf8940bce91859de16d7a956ebc569.zip
u-boot-imx-1b41493defcf8940bce91859de16d7a956ebc569.tar.gz
u-boot-imx-1b41493defcf8940bce91859de16d7a956ebc569.tar.bz2
mpc52xx, digsy_mtc: change phy addr for rev5 boards.
- rev5 board has phy addr 1 -> adapt CONFIG_PHY_ADDR define in board config file. - also fixup the phy addr entry in dts, before booting Linux. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/digsy_mtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index f1613c7..c738b3a 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -345,7 +345,11 @@
*/
#define CONFIG_MPC5xxx_FEC 1
#define CONFIG_MPC5xxx_FEC_MII100
+#if defined(CONFIG_DIGSY_REV5)
+#define CONFIG_PHY_ADDR 0x01
+#else
#define CONFIG_PHY_ADDR 0x00
+#endif
#define CONFIG_PHY_RESET_DELAY 1000
#define CONFIG_NETCONSOLE /* include NetConsole support */