From: Parthiban Nallathambi Date: Fri, 23 Aug 2019 18:35:09 +0200 Subject: [U-Boot] [PATCH 2/3] imx: initialize fec only when enabled In-Reply-To: <20190823163510.748006-1-pn@denx.de> References: <20190823163510.748006-1-pn@denx.de> Message-ID: <20190823163510.748006-2-pn@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de board early initialize fec ethernet controller pinmux only when FEC is enabled Signed-off-by: Parthiban Nallathambi --- board/phytec/pcl063/pcl063.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.21.0