* [U-Boot] [PATCH] tsec: Fix MDIO on devices with eTSEC2
@ 2011-04-29 7:26 Andy Fleming
2011-04-29 12:33 ` Kumar Gala
2011-04-29 14:15 ` [U-Boot] [u-boot-release] " Timur Tabi
0 siblings, 2 replies; 3+ messages in thread
From: Andy Fleming @ 2011-04-29 7:26 UTC (permalink / raw)
To: u-boot
The tsec driver was defining the default MDIO address as
the TSEC_BASE + 0x520, but on eTSEC2 controllers, the first
TSEC's registers are separated from the MDIO registers. Use
the existing MDIO_BASE_ADDR, instead.
Signed-off-by: Andy Fleming <afleming@freescale.com>
---
include/tsec.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/tsec.h b/include/tsec.h
index 8ed30ac..f0f3d4d 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -25,7 +25,7 @@
#define TSEC_SIZE 0x01000
#define TSEC_MDIO_OFFSET 0x01000
-#define CONFIG_SYS_MDIO_BASE_ADDR (TSEC_BASE_ADDR + 0x520)
+#define CONFIG_SYS_MDIO_BASE_ADDR (MDIO_BASE_ADDR + 0x520)
#define DEFAULT_MII_NAME "FSL_MDIO"
--
1.6.5.2.g6ff9a
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] tsec: Fix MDIO on devices with eTSEC2
2011-04-29 7:26 [U-Boot] [PATCH] tsec: Fix MDIO on devices with eTSEC2 Andy Fleming
@ 2011-04-29 12:33 ` Kumar Gala
2011-04-29 14:15 ` [U-Boot] [u-boot-release] " Timur Tabi
1 sibling, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2011-04-29 12:33 UTC (permalink / raw)
To: u-boot
On Apr 29, 2011, at 2:26 AM, Andy Fleming wrote:
> The tsec driver was defining the default MDIO address as
> the TSEC_BASE + 0x520, but on eTSEC2 controllers, the first
> TSEC's registers are separated from the MDIO registers. Use
> the existing MDIO_BASE_ADDR, instead.
>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
> ---
> include/tsec.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to 85xx
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [u-boot-release] [PATCH] tsec: Fix MDIO on devices with eTSEC2
2011-04-29 7:26 [U-Boot] [PATCH] tsec: Fix MDIO on devices with eTSEC2 Andy Fleming
2011-04-29 12:33 ` Kumar Gala
@ 2011-04-29 14:15 ` Timur Tabi
1 sibling, 0 replies; 3+ messages in thread
From: Timur Tabi @ 2011-04-29 14:15 UTC (permalink / raw)
To: u-boot
Andy Fleming wrote:
> The tsec driver was defining the default MDIO address as
> the TSEC_BASE + 0x520, but on eTSEC2 controllers, the first
> TSEC's registers are separated from the MDIO registers. Use
> the existing MDIO_BASE_ADDR, instead.
>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
This fixes Ethernet on the P1022DS.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-29 14:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-29 7:26 [U-Boot] [PATCH] tsec: Fix MDIO on devices with eTSEC2 Andy Fleming
2011-04-29 12:33 ` Kumar Gala
2011-04-29 14:15 ` [U-Boot] [u-boot-release] " Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox