From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Thu, 02 Jan 2014 15:35:27 +0900 Subject: [U-Boot] [PATCH v2 06/13] common: makefile: Add optional cflags to object: common/lcd.o In-Reply-To: References: Message-ID: <52C508AF.5010601@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19/12/13 03:31, Przemyslaw Marczak wrote: > This change adds CFLAGS: -mno-unaligned-access > which depends on option: PLATFORM_NO_UNALIGNED > > This option avoids unaligned data access exception on armv7, caused > by access to logo data which is mostly unaligned initialized array. OK. I understood about option. At here, please write on why you added this option. > > more info: README.arm-unaligned-accesses > > Signed-off-by: Przemyslaw Marczak > > --- > Changes v2: > - new patch > --- > common/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/common/Makefile b/common/Makefile > index 74404be..619d72c 100644 > --- a/common/Makefile > +++ b/common/Makefile > @@ -240,3 +240,4 @@ $(obj)env_embedded.o: $(src)env_embedded.c > # SEE README.arm-unaligned-accesses > $(obj)hush.o: CFLAGS += $(PLATFORM_NO_UNALIGNED) > $(obj)fdt_support.o: CFLAGS += $(PLATFORM_NO_UNALIGNED) > +$(obj)lcd.o: CFLAGS += $(PLATFORM_NO_UNALIGNED) > Thanks, Minkyu Kang.