]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Move mno-unaligned-access to cpu folder
authorMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 07:25:55 +0000 (09:25 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 09:48:07 +0000 (11:48 +0200)
Just clean up.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/arm/cpu/armv7/zynq/config.mk
config.mk

index 541c73df6b3a89b93abf0921d6e3f15997f3eada..29c8aa44daf9bada2185426daa283271868ae9cc 100644 (file)
@@ -27,6 +27,11 @@ PLATFORM_CPPFLAGS += -march=armv7-a
 PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/xilinx/common
 PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/$(BOARDDIR)
 
+# Xilinx, added to prevent unaligned accesses which started happening
+# with GCC 4.5.2 tools
+
+PLATFORM_CPPFLAGS += -mno-unaligned-access
+
 # =========================================================================
 #
 # Supply options according to compiler version
index 617e3babd44d867692a1908ac84ce87ba05a3dbf..c3822a25c255100f6730549820fe32dadce8dba7 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -236,11 +236,6 @@ else
 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
 endif
 
-# Xilinx, added to prevent unaligned accesses which started happening
-# with GCC 4.5.2 tools
-
-CFLAGS += -mno-unaligned-access
-
 CFLAGS_SSP := $(call cc-option,-fno-stack-protector)
 CFLAGS += $(CFLAGS_SSP)
 # Some toolchains enable security related warning flags by default,