net: fec: do not access reserved register for i.MX8M
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jan 2018 05:20:43 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit238a53c71010ea15e38ab0253316a7ac2fd8035c
tree23cbd5868d7370034b2143608dbce5dfe582a4f7
parent8953d866644184e5b1088ab170a34d45a6f3c6dd
net: fec: do not access reserved register for i.MX8M

The MIB RAM and FIFO receive start register does not exist on
i.MX8M. Accessing these register will cause system hang.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
drivers/net/fec_mxc.c