public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector)
Date: Tue, 18 Aug 2015 13:03:02 +0530	[thread overview]
Message-ID: <20150818073302.GC30470@linux> (raw)
In-Reply-To: <1439882840-31757-1-git-send-email-sr@denx.de>

On 18-08-15, 09:27, Stefan Roese wrote:
> 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 <sr@denx.de>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Vipin Kumar <vk.vipin@gmail.com>
> ---
>  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) */

For the complete series:

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

  parent reply	other threads:[~2015-08-18  7:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  7:27 [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector) Stefan Roese
2015-08-18  7:27 ` [U-Boot] [PATCH 2/5] arm: spear: Move to common SPL infrastructure Stefan Roese
2015-08-28 21:03   ` [U-Boot] [U-Boot, " Tom Rini
2015-08-18  7:27 ` [U-Boot] [PATCH 3/5] usb: spear: Add support for both SPEAr600 EHCI controllers Stefan Roese
2015-08-18 21:59   ` Marek Vasut
2015-08-28 21:03   ` [U-Boot] [U-Boot, " Tom Rini
2015-08-28 21:52     ` Marek Vasut
2015-08-18  7:27 ` [U-Boot] [PATCH 4/5] arm: spear: Enable caches on SPEAr Stefan Roese
2015-08-28 21:03   ` [U-Boot] [U-Boot,4/5] " Tom Rini
2015-08-18  7:27 ` [U-Boot] [PATCH 5/5] arm: spear: Some changes / updates to the x600 config header Stefan Roese
2015-08-28 21:03   ` [U-Boot] [U-Boot, " Tom Rini
2015-08-18  7:33 ` Viresh Kumar [this message]
2015-08-28 21:03 ` [U-Boot] [U-Boot, 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector) Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150818073302.GC30470@linux \
    --to=viresh.kumar@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox