[U-Boot] [U-boot] "-mno-unaligned-access" question

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Oct 15 10:30:30 CEST 2013


Hi TigerLiu at viatech.com.cn,

On Thu, 12 Sep 2013 14:01:17 +0800, <TigerLiu at viatech.com.cn> wrote:

> Hi, experts:
> 
> I have a question about compiler option "-mno-unaligned-access".
> 
> Why not open "-mno-unaligned-access" compiler option globally by default
> when compiling u-boot?
> 
>  
> 
> It seems if one driver needs to open it, should set it in Makefile
> individually:
> 
> $(obj) tst/tst.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
> 
>  
> 
> Best wishes,

Sorry, I missed this question -- answers can be found in
doc/README.arm-unaligned-accesses.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list