]> git.sur5r.net Git - u-boot/commit
net: fec_mxc: avoid transfer dev_id -1 to get mac address from fuse
authorAndy Duan <fugang.duan@nxp.com>
Mon, 10 Apr 2017 11:44:34 +0000 (19:44 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 18 Apr 2017 13:59:45 +0000 (15:59 +0200)
commit7f874e2b85a1bbc0a98c538135ad8c658b1856e1
treec82a0a70f5897f7c28d23f622ba9768e19896de7
parent4f55bd1c0ba12a2309bef7db33b0d4802e927647
net: fec_mxc: avoid transfer dev_id -1 to get mac address from fuse

Avoid transfer parameter dev_id value with "-1" to .fec_get_hwaddr(),
it should transfer fec->dev_id to get mac address from fuse.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/net/fec_mxc.c