summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/config.mk')
-rw-r--r--arch/arm/mach-at91/config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/config.mk b/arch/arm/mach-at91/config.mk
new file mode 100644
index 0000000000..7168abbd58
--- /dev/null
+++ b/arch/arm/mach-at91/config.mk
@@ -0,0 +1,9 @@
+ifeq ($(CONFIG_CPU_ARM926EJS),y)
+PLATFORM_CPPFLAGS += $(call cc-option,-mtune=arm926ejs,)
+endif
+
+ifeq ($(CONFIG_CPU_V7),y)
+ifndef CONFIG_SPL_BUILD
+ALL-y += u-boot.img
+endif
+endif