mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user