diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-15 10:11:25 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:30 -0400 |
commit | 782f2d782771484bb951be1c394ca2128ed7774e (patch) | |
tree | 47f621c022942f5f6a1cbbd450219347180de911 /arch/arm/mach-davinci/devices-da8xx.c | |
parent | 5d69e0076a726588265af040b21ac3f8266856d1 (diff) |
davinci: cleanup mdio arch code and switch to phy_id
This patch removes davinci architecture code that has now been rendered
useless by the previous patches in the MDIO separation series.
In addition, the earlier phy_mask definitions have been replaced with
corresponding phy_id definitions.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Caglar Akyuz <caglarakyuz@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 9039221649d4..9eec63070e0c 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #define DA8XX_EMAC_CTRL_REG_OFFSET 0x3000 | 42 | #define DA8XX_EMAC_CTRL_REG_OFFSET 0x3000 |
43 | #define DA8XX_EMAC_MOD_REG_OFFSET 0x2000 | 43 | #define DA8XX_EMAC_MOD_REG_OFFSET 0x2000 |
44 | #define DA8XX_EMAC_RAM_OFFSET 0x0000 | 44 | #define DA8XX_EMAC_RAM_OFFSET 0x0000 |
45 | #define DA8XX_MDIO_REG_OFFSET 0x4000 | ||
46 | #define DA8XX_EMAC_CTRL_RAM_SIZE SZ_8K | 45 | #define DA8XX_EMAC_CTRL_RAM_SIZE SZ_8K |
47 | 46 | ||
48 | void __iomem *da8xx_syscfg0_base; | 47 | void __iomem *da8xx_syscfg0_base; |
@@ -381,7 +380,6 @@ struct emac_platform_data da8xx_emac_pdata = { | |||
381 | .ctrl_reg_offset = DA8XX_EMAC_CTRL_REG_OFFSET, | 380 | .ctrl_reg_offset = DA8XX_EMAC_CTRL_REG_OFFSET, |
382 | .ctrl_mod_reg_offset = DA8XX_EMAC_MOD_REG_OFFSET, | 381 | .ctrl_mod_reg_offset = DA8XX_EMAC_MOD_REG_OFFSET, |
383 | .ctrl_ram_offset = DA8XX_EMAC_RAM_OFFSET, | 382 | .ctrl_ram_offset = DA8XX_EMAC_RAM_OFFSET, |
384 | .mdio_reg_offset = DA8XX_MDIO_REG_OFFSET, | ||
385 | .ctrl_ram_size = DA8XX_EMAC_CTRL_RAM_SIZE, | 383 | .ctrl_ram_size = DA8XX_EMAC_CTRL_RAM_SIZE, |
386 | .version = EMAC_VERSION_2, | 384 | .version = EMAC_VERSION_2, |
387 | }; | 385 | }; |