diff options
author | Matt Porter <mporter@ti.com> | 2013-03-20 05:38:12 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-10 08:25:54 -0400 |
commit | f6f86a64ac00980ba6066417bb54f39e39d29703 (patch) | |
tree | cc1e0c72574d8eb56d734df520aa00744c6ed489 | |
parent | 035d563937b5bafbf78b17e07ac50bca47492385 (diff) | |
download | u-boot-f6f86a64ac00980ba6066417bb54f39e39d29703.zip u-boot-f6f86a64ac00980ba6066417bb54f39e39d29703.tar.gz u-boot-f6f86a64ac00980ba6066417bb54f39e39d29703.tar.bz2 |
cpsw: add support for TI814x slave_regs differences
TI814x's version 1 CPSW has a different slave_regs layout.
Add support for the differing registers.
Signed-off-by: Matt Porter <mporter@ti.com>
Reviewed-by: Tom Rini <trini@ti.com>
-rw-r--r-- | drivers/net/cpsw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 7a36850..379b679 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -109,7 +109,13 @@ struct cpsw_slave_regs { u32 flow_thresh; u32 port_vlan; u32 tx_pri_map; +#ifdef CONFIG_AM33XX u32 gap_thresh; +#elif defined(CONFIG_TI814X) + u32 ts_ctl; + u32 ts_seq_ltype; + u32 ts_vlan; +#endif u32 sa_lo; u32 sa_hi; }; |