diff options
| author | Lars Poeschel <[email protected]> | 2013-09-30 09:51:34 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-10-07 07:43:46 -0400 |
| commit | 6478cde618ad3bfdb9b62f62e8c76498b0d6637f (patch) | |
| tree | 769cef90270234a79be1f51691677d14c8add9b4 | |
| parent | 94b32f60fe8f21b60e8e1f31dcb27bcec7aa1fff (diff) | |
pcm051/igep0033: Supply bd_ram_ofs for cpsw driver
Since 2bf36ac638ab2db9f0295aa47064976eeebf80c1 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 <[email protected]>
Acked-by: Mugunthan V N <[email protected]>
Signed-off-by: Lars Poeschel <[email protected]>
| -rw-r--r-- | board/isee/igep0033/board.c | 1 | ||||
| -rw-r--r-- | board/phytec/pcm051/board.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/isee/igep0033/board.c b/board/isee/igep0033/board.c index a9c34c6b4a4..347c128cb92 100644 --- a/board/isee/igep0033/board.c +++ b/board/isee/igep0033/board.c @@ -129,6 +129,7 @@ static struct cpsw_platform_data cpsw_data = { .ale_entries = 1024, .host_port_reg_ofs = 0x108, .hw_stats_reg_ofs = 0x900, + .bd_ram_ofs = 0x2000, .mac_control = (1 << 5), .control = cpsw_control, .host_port_num = 0, diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c index e40b0bd44df..dafb1eb8e63 100644 --- a/board/phytec/pcm051/board.c +++ b/board/phytec/pcm051/board.c @@ -150,6 +150,7 @@ static struct cpsw_platform_data cpsw_data = { .ale_entries = 1024, .host_port_reg_ofs = 0x108, .hw_stats_reg_ofs = 0x900, + .bd_ram_ofs = 0x2000, .mac_control = (1 << 5), .control = cpsw_control, .host_port_num = 0, |
