]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-kirkwood/Makefile
sunxi: psci: Move entry address setting to separate function
[u-boot] / arch / arm / mach-kirkwood / Makefile
index df4756e4bdb1fd072e5356a65e9d4ec7e51b54fa..5abcf70b28537dcf2ad03f08b19bcdbbe573e2ff 100644 (file)
@@ -9,3 +9,9 @@
 obj-y  = cpu.o
 obj-y  += cache.o
 obj-y  += mpp.o
+
+# cpu.o and cache.o contain CP15 instructions which cannot be run in
+# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
+
+CFLAGS_cpu.o := -marm
+CFLAGS_cache.o := -marm