From 1b41493defcf8940bce91859de16d7a956ebc569 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Sun, 3 Apr 2011 20:10:20 +0000 Subject: 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 Acked-by: Detlev Zundel --- include/configs/digsy_mtc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs/digsy_mtc.h') 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 */ -- cgit v1.1