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 <p.marc...@samsung.com>
> 
> ---
> 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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to