From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Thu, 02 Jan 2014 15:35:31 +0900 Subject: [U-Boot] [PATCH v2 02/13] trats: add optional cflags to board object file. In-Reply-To: References: Message-ID: <52C508B3.3020606@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 avoids unexpected unaligned access. > > more info: README.arm-unaligned-accesses > > Signed-off-by: Przemyslaw Marczak > cc: Lukasz Majewski > > --- > Changes v2: > - new patch > --- > board/samsung/trats/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/samsung/trats/Makefile b/board/samsung/trats/Makefile > index 5dc8a1f..c1bcd63 100644 > --- a/board/samsung/trats/Makefile > +++ b/board/samsung/trats/Makefile > @@ -6,3 +6,5 @@ > # > > obj-y += trats.o > + > +$(obj)trats.o: CFLAGS += $(PLATFORM_NO_UNALIGNED) > \ No newline at end of file > What is the example of unexpected unaligned access on trats? Thanks, Minkyu Kang.