spl, common, serial: build SPL without serial support
[oweals/u-boot.git] / arch / arm / Makefile
index 6f30098f0accc59eb6c94d454c801222cebeeeb7..ab0e9ce67369bc2982f9ae02b9dda579d1743862 100644 (file)
@@ -78,7 +78,7 @@ libs-y += arch/arm/cpu/
 libs-y += arch/arm/lib/
 
 ifeq ($(CONFIG_SPL_BUILD),y)
-ifneq (,$(CONFIG_MX23)$(CONFIG_MX35)$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35))
+ifneq (,$(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_MX35)$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35))
 libs-y += arch/arm/imx-common/
 endif
 else