]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/mx5/Makefile
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / mx5 / Makefile
index ecd1184213328fe974af724cc54ae72edd2332aa..c84ea05de2a4f3401fda378dc050f38bed96a1b3 100644 (file)
@@ -27,7 +27,12 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(SOC).o
 
-COBJS  = soc.o clock.o iomux.o
+COBJS  = soc.o clock.o
+ifneq ($(CONFIG_SYS_MX5_IOMUX_V3),)
+       COBJS +=  iomux-v3.o
+else
+       COBJS +=  iomux.o
+endif
 SOBJS = lowlevel_init.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)