]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
board/BuR/common: fix phy addresses
authorHannes Petermaier <oe5hpm@oevsv.at>
Thu, 6 Mar 2014 06:03:24 +0000 (07:03 +0100)
committerTom 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

index 04f3f1f4b2363c8da90c54bef07e9db5a1cdcc96..4c926ce700fef4673f8f25ed9965d21dc84d5da9 100644 (file)
@@ -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,
        },
 };