]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Revert "arm: armv7: add compile option -mno-unaligned-access if available"
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 20 Jul 2012 06:51:26 +0000 (08:51 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:10 +0000 (14:58 +0200)
This reverts commit 5347560f5427bcdd48a563b62180481606ac8044,
which was applied only to get release 2012.07 functional on as
many ARM targets as possible despite mis-aligned accesses.

arch/arm/cpu/armv7/config.mk

index 560c084dc96b54bb5f3dade758d2513c4b030894..5407cb68a89c29f001ac58e51ee024cbde128dcf 100644 (file)
@@ -26,8 +26,6 @@ PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
 # supported by more tool-chains
 PF_CPPFLAGS_ARMV7 := $(call cc-option, -march=armv7-a, -march=armv5)
 PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_ARMV7)
-PF_CPPFLAGS_NO_UNALIGNED := $(call cc-option, -mno-unaligned-access,)
-PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_NO_UNALIGNED)
 
 # =========================================================================
 #