
26 Feb
2014
26 Feb
'14
2:55 p.m.
On Wed, Feb 26, 2014 at 02:51:05PM +0900, Masahiro Yamada wrote:
Seeing arch/arm/cpu/armv8/config.mk, -mstrict-align option was added to both PLATFORM_NO_UNALIGNED and PLATFORM_CPPFLAGS.
$(PLATFORM_CPPFLAGS) is given to all compiled objects. Adding the same option to also PLATFORM_NO_UNALIGNED is redundant.
For example, common/hush.o was compiled with double -mstrict-align. You can comfirm it by checking common/.hush.o.cmd file.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com Cc: David Feng fenghua@phytium.com.cn Cc: Albert ARIBAUD albert.u.boot@aribaud.net Cc: Tom Rini trini@ti.com
With the v3 series about unaligned bits this patch should no longer be needed.
--
Tom