[U-Boot] [PATCH] ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Sep 1 19:16:11 CEST 2008


On 12:00 Mon 01 Sep     , Hugo Villeneuve wrote:
> ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c
> 
> Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
> 
> ---
> 
> Remove duplicate code in a if/else block in
> cpu/arm926ejs/davinci/dp83848.c.
> 
>  cpu/arm926ejs/config.mk         |    2 +-
>  cpu/arm926ejs/davinci/dp83848.c |   32 +++++++++-----------------------
>  2 files changed, 10 insertions(+), 24 deletions(-)
> 
> diff --git a/cpu/arm926ejs/config.mk b/cpu/arm926ejs/config.mk
> index 8db4adb..fc54845 100644
> --- a/cpu/arm926ejs/config.mk
> +++ b/cpu/arm926ejs/config.mk
> @@ -30,5 +30,5 @@ PLATFORM_CPPFLAGS += -march=armv4
>  # Supply options according to compiler version
>  #
>  # =========================================================================
> -PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
> +PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32)

why do you remove -mabi=apcs-gnu

which is unrelated to the commit comment

Best Regards,
J.


More information about the U-Boot mailing list