From: Peng Fan Date: Tue, 20 Nov 2018 10:19:50 +0000 (+0000) Subject: imx: imx8m: not build bootaux when building SPL X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=60afc5009baeaeb11a25ac13d288be1a0364d1b6;p=u-boot.git imx: imx8m: not build bootaux when building SPL No need to build bootaux in SPL stage Signed-off-by: Peng Fan --- diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 6351abb185..d236e40510 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -10,7 +10,9 @@ obj-y = iomux-v3.o endif ifeq ($(SOC),$(filter $(SOC),imx8m)) +ifneq ($(CONFIG_SPL_BUILD),y) 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_SYS_I2C_MXC) += i2c-mxv7.o