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

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,

Hi TigerLiu@viatech.com.cn,
On Thu, 12 Sep 2013 14:01:17 +0800, TigerLiu@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,
participants (2)
-
Albert ARIBAUD
-
TigerLiuļ¼ viatech.com.cn