From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Wed, 13 Apr 2011 20:01:33 +1000 Subject: [U-Boot] [PATCH 5/6] sc520: Move reset to stand-alone file In-Reply-To: <1302520020-4767-6-git-send-email-graeme.russ@gmail.com> References: <1302520020-4767-1-git-send-email-graeme.russ@gmail.com> <1302520020-4767-6-git-send-email-graeme.russ@gmail.com> Message-ID: <4DA5747D.3030506@gmail.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 11/04/11 21:06, Graeme Russ wrote: > Partial linking allows weak functions to be overridden in files containing > only one function. Moving the sc520 override of reset_cpu gets rid of an > ugly #ifdef > > Signed-off-by: Graeme Russ > --- > arch/x86/cpu/sc520/Makefile | 1 + > arch/x86/cpu/sc520/sc520.c | 10 --------- > arch/x86/cpu/sc520/sc520_reset.c | 40 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644 arch/x86/cpu/sc520/sc520_reset.c Applied to u-boot-x86, master branch, thanks. Regards, Graeme Russ