Skip to contentSkip to conversation

board/BuR/common: fix phy addresses

PATCH New Hannes Petermaier 2 participants 2 messages Mar 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/BuR/common/common.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/BuR/common/common.c +2 -2
index 04f3f1f..4c926ce 100644
@@ -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,
 	},
 };
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 board/BuR/common: fix phy addresses

Quoted 5 lines · Hannes Petermaier

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.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140306/4cae199b/attachment.pgp>