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

Hugo Villeneuve hugo.villeneuve at lyrtech.com
Mon Sep 1 22:34:29 CEST 2008


On Mon, 2008-09-01 at 19:16 +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> 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

Sorry about that,
you can forget it, it was some temporary workaround for an old
toolchain :)

Hugo V.



More information about the U-Boot mailing list