From: Albert ARIBAUD Date: Fri, 20 Jul 2012 06:51:26 +0000 (+0200) Subject: Revert "arm: armv7: add compile option -mno-unaligned-access if available" X-Git-Tag: v2012.10-rc1~336 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c50afc1dab78a1a72bc37b60d97864e56b52cc5c;p=u-boot Revert "arm: armv7: add compile option -mno-unaligned-access if available" 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. --- diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk index 560c084dc9..5407cb68a8 100644 --- a/arch/arm/cpu/armv7/config.mk +++ b/arch/arm/cpu/armv7/config.mk @@ -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) # ========================================================================= #