imx: initialize fec only when enabled
authorParthiban Nallathambi <pn@denx.de>
Fri, 23 Aug 2019 16:35:09 +0000 (18:35 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
commit921bb8641d15f8a2570d43321e5c74ff65aa28f3
tree81df1eeb8ad7dcec19287dd7c25583b00436f88c
parent84d5e72ffbbb75826b1592a3474ce9b7b44d14cd
imx: initialize fec only when enabled

board early initialize fec ethernet controller pinmux
only when FEC is enabled

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/phytec/pcl063/pcl063.c