summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHannes Petermaier <oe5hpm@oevsv.at>2014-03-06 07:03:24 +0100
committerTom Rini <trini@ti.com>2014-03-06 10:43:50 -0500
commit4b75fd510076f2261c5e21b9b8cf75c9f01ded3c (patch)
treeaf5a796f3f9c9a5bda0192f31ab6d86ad4d479ab /board
parentcc07294bc704694ae33db75b25ac557e5917a83f (diff)
downloadu-boot-imx-4b75fd510076f2261c5e21b9b8cf75c9f01ded3c.zip
u-boot-imx-4b75fd510076f2261c5e21b9b8cf75c9f01ded3c.tar.gz
u-boot-imx-4b75fd510076f2261c5e21b9b8cf75c9f01ded3c.tar.bz2
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 <oe5hpm@oevsv.at>
Diffstat (limited to 'board')
-rw-r--r--board/BuR/common/common.c4
1 files 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,
},
};