From: Hugo Villeneuve Date: Mon, 01 Sep 2008 16:34:29 -0400 Subject: [U-Boot] [PATCH] ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c In-Reply-To: <20080901171611.GA13490@game.jcrosoft.org> References: <1220284818-27492-1-git-send-email-hugo.villeneuve@lyrtech.com> <20080901171611.GA13490@game.jcrosoft.org> Message-ID: <1220301269.3109.1.camel@server.hugovil.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 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 > > > > --- > > > > 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.