* [U-Boot] [PATCH] board/BuR/common: fix phy addresses
@ 2014-03-06 6:03 Hannes Petermaier
2014-03-06 15:45 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Petermaier @ 2014-03-06 6:03 UTC (permalink / raw)
To: u-boot
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 <oe5hpm@oevsv.at>
---
board/BuR/common/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c
index 04f3f1f..4c926ce 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,
},
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-06 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 6:03 [U-Boot] [PATCH] board/BuR/common: fix phy addresses Hannes Petermaier
2014-03-06 15:45 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox