aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li2021-08-16 18:44:27 +0800
committerStefano Babic2021-10-21 13:59:26 +0200
commit5d3ba244d7f2dc3b96e52a662c9006a8ebddabc0 (patch)
treecc6d526b64fe0ef0e1e2a0e197ce09aba526cb23
parent6daa6a97d11875ea44bbaab1d21d03e927c4fd72 (diff)
arm: mach-imx: Allow to build mac.c for EQoS driver
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>
-rw-r--r--arch/arm/mach-imx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index bfff79f88c5..07954bc2014 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -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