diff mbox series

[2/7] arm: mach-imx: Allow to build mac.c for EQoS driver

Message ID 1629110672-28374-2-git-send-email-ye.li@nxp.com
State Accepted
Commit 5d3ba244d7f2dc3b96e52a662c9006a8ebddabc0
Delegated to: Stefano Babic
Headers show
Series [1/7] arm: mach-imx: Update MAC fuse for i.MX8MP | expand

Commit Message

Ye Li Aug. 16, 2021, 10:44 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Oct. 21, 2021, 2:13 p.m. UTC | #1
> 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>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 0ef2695..74a2a2a 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