]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-at91/arm926ejs/Makefile
Merge git://git.denx.de/u-boot-i2c
[people/ms/u-boot.git] / arch / arm / mach-at91 / arm926ejs / Makefile
index d36e15a51cc04d667a0e0e9f6874e9c8f4dd3adf..dc935fd9e543d2094d0e9862d26d6e26da0262a8 100644 (file)
@@ -22,8 +22,18 @@ obj-y += cache.o
 obj-y += clock.o
 obj-y += cpu.o
 obj-y  += reset.o
+ifeq ($(CONFIG_ATMEL_PIT_TIMER),)
 obj-y  += timer.o
+endif
 
 ifndef CONFIG_SKIP_LOWLEVEL_INIT
 obj-y  += lowlevel_init.o
 endif
+
+ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
+ifndef CONFIG_HAS_THUMB2
+
+CFLAGS_cache.o := -marm
+
+endif
+endif