From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 15 Oct 2013 10:30:30 +0200 Subject: [U-Boot] [U-boot] "-mno-unaligned-access" question In-Reply-To: References: Message-ID: <20131015103030.772215a5@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi TigerLiu at viatech.com.cn, On Thu, 12 Sep 2013 14:01:17 +0800, 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.