diff options
author | Andy Fleming <afleming@freescale.com> | 2011-04-29 02:26:52 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-29 07:32:48 -0500 |
commit | 40ac3d462d2927fdf45263d360bcc275de452be6 (patch) | |
tree | ea6066092d32b8d591fcd563011408b5cdf35b83 /include | |
parent | 66412c6371cfd6e056679abedea7d6fafe6a0422 (diff) |
tsec: Fix MDIO on devices with eTSEC2
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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/tsec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tsec.h b/include/tsec.h index 8ed30aca09..f0f3d4d59b 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" |