diff options
author | Hao Zhang <hzhang@ti.com> | 2014-09-29 22:17:20 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-23 11:27:05 -0400 |
commit | b2cfe32278478dbf4b08a06f8d48436fc3d4ae7e (patch) | |
tree | 0ddd57ec160d87a41b80fc6b91851d0f0a535b44 /arch | |
parent | 8347210a3f158f0d40ced048673d8602802ed9cc (diff) | |
download | u-boot-imx-b2cfe32278478dbf4b08a06f8d48436fc3d4ae7e.zip u-boot-imx-b2cfe32278478dbf4b08a06f8d48436fc3d4ae7e.tar.gz u-boot-imx-b2cfe32278478dbf4b08a06f8d48436fc3d4ae7e.tar.bz2 |
net: keystone_net: remove SoC specific emac_regs structure
This patch removes K2HK SOC specifc emac_regs structure, it uses
soc specific register offset to keep the network driver common across
all the Keystone II EVMs.
Acked-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-keystone/emac_defs.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/include/asm/arch-keystone/emac_defs.h b/arch/arm/include/asm/arch-keystone/emac_defs.h index 9cd8925..47e0ada 100644 --- a/arch/arm/include/asm/arch-keystone/emac_defs.h +++ b/arch/arm/include/asm/arch-keystone/emac_defs.h @@ -202,21 +202,6 @@ struct mdio_regs { dv_reg userphysel1; }; -/* Ethernet MAC Registers Structure */ -struct emac_regs { - dv_reg idver; - dv_reg maccontrol; - dv_reg macstatus; - dv_reg soft_reset; - dv_reg rx_maxlen; - u32 rsvd0; - dv_reg rx_pause; - dv_reg tx_pause; - dv_reg emcontrol; - dv_reg pri_map; - u32 rsvd1[6]; -}; - #define SGMII_ACCESS(port, reg) \ *((volatile unsigned int *)(sgmiis[port] + reg)) |