summaryrefslogtreecommitdiff
path: root/include/cpsw.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-09-07 14:22:21 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:18:35 -0400
commit4cc77895eb03ebe16f13910bd85a68f24e432636 (patch)
treeddee80952cfb4574c37279e2bc6edfe5044662c0 /include/cpsw.h
parentbcd5eedf8f4676367a0f11b2576433a1b1a4e1bb (diff)
downloadu-boot-imx-4cc77895eb03ebe16f13910bd85a68f24e432636.zip
u-boot-imx-4cc77895eb03ebe16f13910bd85a68f24e432636.tar.gz
u-boot-imx-4cc77895eb03ebe16f13910bd85a68f24e432636.tar.bz2
drivers: net: cpsw: convert driver to adopt device driver model
adopt cpsw driver to device driver model Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/cpsw.h')
-rw-r--r--include/cpsw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cpsw.h b/include/cpsw.h
index 547b40c..cf1d30b 100644
--- a/include/cpsw.h
+++ b/include/cpsw.h
@@ -31,6 +31,8 @@ enum {
struct cpsw_platform_data {
u32 mdio_base;
u32 cpsw_base;
+ u32 mac_id;
+ u32 gmii_sel;
int mdio_div;
int channels; /* number of cpdma channels (symmetric) */
u32 cpdma_reg_ofs; /* cpdma register offset */