From 2bf36ac638ab2db9f0295aa47064976eeebf80c1 Mon Sep 17 00:00:00 2001 From: Mugunthan V N Date: Mon, 8 Jul 2013 16:04:37 +0530 Subject: 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 --- board/ti/ti814x/evm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/ti/ti814x') diff --git a/board/ti/ti814x/evm.c b/board/ti/ti814x/evm.c index 17fba5aecd..c469645ff3 100644 --- a/board/ti/ti814x/evm.c +++ b/board/ti/ti814x/evm.c @@ -207,6 +207,7 @@ static struct cpsw_platform_data cpsw_data = { .ale_entries = 1024, .host_port_reg_ofs = 0x28, .hw_stats_reg_ofs = 0x400, + .bd_ram_ofs = 0x2000, .mac_control = (1 << 5), .control = cpsw_control, .host_port_num = 0, -- cgit v1.2.1