pcm051/igep0033: Supply bd_ram_ofs for cpsw driver

Since 2bf36ac638 the BD ram address is
not hardcoded inside cpsw driver any more. Platforms have to supply
their bd_ram_ofs in the platform data to the driver. This commit does
this for pcm051 and igep0033 boards.

Tested-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
This commit is contained in:
Lars Poeschel 2013-09-30 09:51:34 +02:00 committed by Tom Rini
parent 94b32f60fe
commit 6478cde618
2 changed files with 2 additions and 0 deletions

View file

@ -129,6 +129,7 @@ static struct cpsw_platform_data cpsw_data = {
.ale_entries = 1024, .ale_entries = 1024,
.host_port_reg_ofs = 0x108, .host_port_reg_ofs = 0x108,
.hw_stats_reg_ofs = 0x900, .hw_stats_reg_ofs = 0x900,
.bd_ram_ofs = 0x2000,
.mac_control = (1 << 5), .mac_control = (1 << 5),
.control = cpsw_control, .control = cpsw_control,
.host_port_num = 0, .host_port_num = 0,

View file

@ -150,6 +150,7 @@ static struct cpsw_platform_data cpsw_data = {
.ale_entries = 1024, .ale_entries = 1024,
.host_port_reg_ofs = 0x108, .host_port_reg_ofs = 0x108,
.hw_stats_reg_ofs = 0x900, .hw_stats_reg_ofs = 0x900,
.bd_ram_ofs = 0x2000,
.mac_control = (1 << 5), .mac_control = (1 << 5),
.control = cpsw_control, .control = cpsw_control,
.host_port_num = 0, .host_port_num = 0,