]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-orion5x/Makefile
Move dram_init_banksize() to a common header
[u-boot] / arch / arm / mach-orion5x / Makefile
index 33dcad40f26d4fb21e81742493950cbb2e084853..5249aa8844cf2bb1be6d7a54a98c772a67356754 100644 (file)
@@ -19,7 +19,7 @@ endif
 
 # some files can only build in ARM or THUMB2, not THUMB1
 
-ifdef CONFIG_SYS_THUMB_BUILD
+ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
 ifndef CONFIG_HAS_THUMB2
 
 CFLAGS_cpu.o := -marm