projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc07294
)
board/BuR/common: fix phy addresses
author
Hannes Petermaier
<oe5hpm@oevsv.at>
Thu, 6 Mar 2014 06:03:24 +0000
(07:03 +0100)
committer
Tom Rini
<trini@ti.com>
Thu, 6 Mar 2014 15:43:50 +0000
(10:43 -0500)
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
patch
|
blob
|
history
diff --git
a/board/BuR/common/common.c
b/board/BuR/common/common.c
index 04f3f1f4b2363c8da90c54bef07e9db5a1cdcc96..4c926ce700fef4673f8f25ed9965d21dc84d5da9 100644
(file)
--- 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
,
},
};