arm: mach-imx: Allow to build mac.c for EQoS driver
authorYe Li <ye.li@nxp.com>
Mon, 16 Aug 2021 10:44:27 +0000 (18:44 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Oct 2021 11:59:26 +0000 (13:59 +0200)
i.MX8MP has one DWC EQoS controller, so allow to build mac.c when
only this driver is enabled.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/Makefile

index bfff79f..07954bc 100644 (file)
@@ -15,6 +15,7 @@ obj-$(CONFIG_IMX_BOOTAUX) += imx_bootaux.o
 endif
 obj-$(CONFIG_ENV_IS_IN_MMC) += mmc_env.o
 obj-$(CONFIG_FEC_MXC) += mac.o
+obj-$(CONFIG_DWC_ETH_QOS) += mac.o
 obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o
 obj-$(CONFIG_IMX_HAB) += hab.o
 obj-y += cpu.o