]> git.sur5r.net Git - u-boot/commitdiff
pcm051/igep0033: Supply bd_ram_ofs for cpsw driver
authorLars Poeschel <poeschel@lemonage.de>
Mon, 30 Sep 2013 07:51:34 +0000 (09:51 +0200)
committerTom Rini <trini@ti.com>
Mon, 7 Oct 2013 11:43:46 +0000 (07:43 -0400)
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 <eballetbo@iseebcn.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
board/isee/igep0033/board.c
board/phytec/pcm051/board.c

index a9c34c6b4a439a87c95addb38cf2ac6a63709b69..347c128cb9295f2634814d98f690832ee7025059 100644 (file)
@@ -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,
index e40b0bd44df890887a38e12e3f0685fde66a8f05..dafb1eb8e633fdbf3443a2038ca18160f65407a3 100644 (file)
@@ -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,