net: fec: add fuse check
authorPeng Fan <peng.fan@nxp.com>
Fri, 1 May 2020 14:08:37 +0000 (22:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 11:21:34 +0000 (13:21 +0200)
commit3b26d527d355c00eb9a0b2b0c11536e4e62c10aa
treebe94a78a3c030d44153a55a69bad876c990200fd
parent0bd3d911df12816ab8e32d9245449aeca484b539
net: fec: add fuse check

Add fuse check for fec. If the fuse indicates the module
will not work in the SoC, let's fail the initialization.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c