]> git.dujemihanovic.xyz Git - u-boot.git/commit
clock_imx8mm: Add a stub for imx8mp_fec_interface_init()
authorFabio Estevam <festevam@denx.de>
Fri, 20 Oct 2023 00:47:35 +0000 (21:47 -0300)
committerFabio Estevam <festevam@gmail.com>
Wed, 13 Dec 2023 12:54:32 +0000 (09:54 -0300)
commit458ab6b9f224f2dc36a6203a2eddb98445309b0e
treec2cf79c6721eee39c817947d7cfe2b0f7b27ed99
parent7d6b706d10081b88ed747cd1fe048e5363c6a32e
clock_imx8mm: Add a stub for imx8mp_fec_interface_init()

When CONFIG_DWC_ETH_QOS_IMX=y and CONFIG_FEC_MXC is not selected, the
following warning is seen:

arch/arm/mach-imx/imx8m/clock_imx8mm.c: In function 'board_interface_eth_init':
arch/arm/mach-imx/imx8m/clock_imx8mm.c:914:24: warning: implicit declaration of function 'imx8mp_fec_interface_init; did you mean 'imx8mp_eqos_interface_init'? [-Wimplicit-function-declaration]

Fix it by adding a stub for imx8mp_fec_interface_init() to handle this
case.

This follows the same approach done on imx8mp_eqos_interface_init().

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/mach-imx/imx8m/clock_imx8mm.c