From: Mike Frysinger Date: Mon, 28 Nov 2011 22:15:38 -0500 Subject: [U-Boot] [RFC PATCH 7/7] reboard: arm: Remove unused code in start.S In-Reply-To: <1321919880-10070-8-git-send-email-sjg@chromium.org> References: <1321919880-10070-1-git-send-email-sjg@chromium.org> <1321919880-10070-8-git-send-email-sjg@chromium.org> Message-ID: <201111282215.39824.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 21 November 2011 18:58:00 Simon Glass wrote: > --- a/board/reloc.c > +++ b/board/reloc.c > > -void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) > +void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) this is too fragile. we can't have every arch transition the way you did with arm (otherwise arches that have transitioned will break in between). declare this func weak and don't rename it. then there should be no migration issue. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: