[U-Boot] [PATCH v2 06/13] common: makefile: Add optional cflags to object: common/lcd.o

Minkyu Kang mk7.kang at samsung.com
Thu Jan 2 07:35:27 CET 2014


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.marczak at 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.


More information about the U-Boot mailing list