From: Hannes Petermaier Date: Thu, 6 Mar 2014 06:03:24 +0000 (+0100) Subject: board/BuR/common: fix phy addresses X-Git-Tag: v2014.04-rc2~1^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b75fd510076f2261c5e21b9b8cf75c9f01ded3c;p=u-boot board/BuR/common: fix phy addresses B&R boards are using Phy Addresses 'one' and 'two', prior this was defined through #define PHYADDR 1 within a header file. Now this is addresses are given with device-driver structure. Signed-off-by: Hannes Petermaier --- diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 04f3f1f4b2..4c926ce700 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -141,12 +141,12 @@ static struct cpsw_slave_data cpsw_slaves[] = { { .slave_reg_ofs = 0x208, .sliver_reg_ofs = 0xd80, - .phy_addr = 0, + .phy_addr = 1, }, { .slave_reg_ofs = 0x308, .sliver_reg_ofs = 0xdc0, - .phy_addr = 1, + .phy_addr = 2, }, };