aboutsummaryrefslogtreecommitdiff
path: root/include/cpsw.h
diff options
context:
space:
mode:
authorMugunthan V N2013-07-08 16:04:37 +0530
committerTom Rini2013-07-26 16:39:11 -0400
commit2bf36ac638ab2db9f0295aa47064976eeebf80c1 (patch)
treed15b7d976bd10d20226258595cdeba5d9f2cc94e /include/cpsw.h
parent5d4dbf1c3a1d86b4289ab3e5cde120a6f3c26e9b (diff)
drivers: net: cpsw: remove hard coding bd ram for cpsw
BD ram address may vary in various SOC, so removing the hardcoding and passing the same information through platform data Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'include/cpsw.h')
-rw-r--r--include/cpsw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cpsw.h b/include/cpsw.h
index 296b0e557f3..743cb96e7e9 100644
--- a/include/cpsw.h
+++ b/include/cpsw.h
@@ -39,6 +39,7 @@ struct cpsw_platform_data {
int ale_entries; /* ale table size */
u32 host_port_reg_ofs; /* cpdma host port registers */
u32 hw_stats_reg_ofs; /* cpsw hw stats counters */
+ u32 bd_ram_ofs; /* Buffer Descriptor RAM offset */
u32 mac_control;
struct cpsw_slave_data *slave_data;
void (*control)(int enabled);