From: Parthiban Nallathambi Date: Fri, 23 Aug 2019 16:35:09 +0000 (+0200) Subject: imx: initialize fec only when enabled X-Git-Tag: baikal/mips/sdk5.9~749^2~22 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=a31503246b717cdd17d3117a89b41622521b165e;p=uboot.git imx: initialize fec only when enabled board early initialize fec ethernet controller pinmux only when FEC is enabled Signed-off-by: Parthiban Nallathambi Reviewed-by: Peng Fan --- diff --git a/board/phytec/pcl063/pcl063.c b/board/phytec/pcl063/pcl063.c index f8cbd1c11e..96dd9e38f3 100644 --- a/board/phytec/pcl063/pcl063.c +++ b/board/phytec/pcl063/pcl063.c @@ -178,7 +178,9 @@ int board_phy_config(struct phy_device *phydev) int board_early_init_f(void) { setup_iomux_uart(); +#ifdef CONFIG_FEC_MXC setup_iomux_fec(); +#endif return 0; }