From patchwork Tue Aug 18 07:27:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 508196 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 02C9314032B for ; Tue, 18 Aug 2015 17:27:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 59F324B7D9; Tue, 18 Aug 2015 09:27:50 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gj2Wi4atH417; Tue, 18 Aug 2015 09:27:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 94DD94B7D1; Tue, 18 Aug 2015 09:27:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9B51E4B73A for ; Tue, 18 Aug 2015 09:27:26 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKQd4pXEZtr0 for ; Tue, 18 Aug 2015 09:27:26 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mo4-p04-ob.smtp.rzone.de (mo4-p04-ob.smtp.rzone.de [81.169.146.176]) by theia.denx.de (Postfix) with ESMTPS id 35D5E4B748 for ; Tue, 18 Aug 2015 09:27:22 +0200 (CEST) X-RZG-CLASS-ID: mo04 X-RZG-AUTH: :IW0NeWC7b/q2i6W/qstXb1SBUuFnrGohfvxEndrDXKjzPMsB3oimjD61I4fPQhgcxmkf7w== Received: from stefan-work.domain_not_set.invalid (b9168f91.cgn.dg-w.de [185.22.143.145]) by post.strato.de (RZmta 37.9 SBL|AUTH) with ESMTPA id j029cdr7I7RKfZ8; Tue, 18 Aug 2015 09:27:20 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Date: Tue, 18 Aug 2015 09:27:16 +0200 Message-Id: <1439882840-31757-1-git-send-email-sr@denx.de> X-Mailer: git-send-email 2.4.8 Cc: Viresh Kumar , Vipin Kumar Subject: [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Booting SPEAr600 eval board doesn't work with current mainline U-Boot. With this patch the low-vector bit is left to '0'. Resulting in the common relocation of the vectors to 0 (SDRAM) to work correctly. Tested on the SPEAr600 EVB. Signed-off-by: Stefan Roese Cc: Viresh Kumar Cc: Vipin Kumar Acked-by: Viresh Kumar --- board/spear/common/spr_lowlevel_init.S | 5 ----- 1 file changed, 5 deletions(-) diff --git a/board/spear/common/spr_lowlevel_init.S b/board/spear/common/spr_lowlevel_init.S index 23a0369..6494883 100644 --- a/board/spear/common/spr_lowlevel_init.S +++ b/board/spear/common/spr_lowlevel_init.S @@ -14,11 +14,6 @@ */ .globl lowlevel_init lowlevel_init: - /* By default, U-Boot switches CPU to low-vector */ - /* Revert this as we work in high vector even in U-Boot */ - mrc p15, 0, r0, c1, c0, 0 - orr r0, r0, #0x00002000 - mcr p15, 0, r0, c1, c0, 0 mov pc, lr /* void setfreq(unsigned int device, unsigned int frequency) */