]> git.sur5r.net Git - u-boot/commit
net: sh_eth: Fix DT base address fetching
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 16 Feb 2018 23:57:49 +0000 (00:57 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 18 Feb 2018 10:20:18 +0000 (11:20 +0100)
commit5abcbd7847cf7ea87744bfedaaf0b4a6b99e7b02
tree73d298a001e9937e3affae8ebc93ded4c761dfa8
parent5262767deda2a46014654ad2f7e20a42397861b1
net: sh_eth: Fix DT base address fetching

Drop the whole map/unmap_physmem stuff and just use the address
already obtained from DT in ofdata_to_platdata(), instead of
repeating that, wrongly, in probe.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c