mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-13 01:41:34 +00:00
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>
This commit is contained in:
parent
cc07294bc7
commit
4b75fd5100
1 changed files with 2 additions and 2 deletions
|
@ -141,12 +141,12 @@ static struct cpsw_slave_data cpsw_slaves[] = {
|
||||||
{
|
{
|
||||||
.slave_reg_ofs = 0x208,
|
.slave_reg_ofs = 0x208,
|
||||||
.sliver_reg_ofs = 0xd80,
|
.sliver_reg_ofs = 0xd80,
|
||||||
.phy_addr = 0,
|
.phy_addr = 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.slave_reg_ofs = 0x308,
|
.slave_reg_ofs = 0x308,
|
||||||
.sliver_reg_ofs = 0xdc0,
|
.sliver_reg_ofs = 0xdc0,
|
||||||
.phy_addr = 1,
|
.phy_addr = 2,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue