]> git.sur5r.net Git - u-boot/commit
tsec: Fix reading phy registers from DT
authorMario Six <mario.six@gdsys.cc>
Fri, 27 Apr 2018 12:52:57 +0000 (14:52 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:15 +0000 (13:54 -0500)
commit5e9d9abe08745b54262fb26e2d6fcccbea61e409
treecfe78b75441e5800caa678a500aa4b90dbec7274
parent3ce4304205eac2bc19b9fd67651d65f7d19d3cf2
tsec: Fix reading phy registers from DT

Bus translations should be applied when reading the address of the sgmii
phy registers from the DT. Use ofnode_get_addr_index instead of the
plain ofnode_read_u32_default to fix this.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/tsec.c