From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f169.google.com ([209.85.212.169]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TNYSb-0004DF-Pf for barebox@lists.infradead.org; Mon, 15 Oct 2012 00:23:11 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq4so133029wib.0 for ; Sun, 14 Oct 2012 17:23:07 -0700 (PDT) From: Vicente Bergas Date: Mon, 15 Oct 2012 02:22:39 +0200 Message-Id: <1350260560-15528-6-git-send-email-vicencb@gmail.com> In-Reply-To: <1350260560-15528-1-git-send-email-vicencb@gmail.com> References: <1350260560-15528-1-git-send-email-vicencb@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 5/6] ARM: use arm setup stack function on archosg9 To: barebox@lists.infradead.org Cc: Vicente Bergas Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/lowlevel.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c index fa5be1d..d0506bb 100644 --- a/arch/arm/boards/archosg9/lowlevel.c +++ b/arch/arm/boards/archosg9/lowlevel.c @@ -68,12 +68,9 @@ static noinline void archosg9_init_lowlevel(void) void __naked __bare_init reset(void) { - u32 r; - common_reset(); - r = 0x4030D000; - __asm__ __volatile__("mov sp, %0" : : "r"(r)); + arm_setup_stack(0x4030d000); archosg9_init_lowlevel(); } -- 1.7.12.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox