public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector)
@ 2015-08-18  7:27 Stefan Roese
  2015-08-18  7:27 ` [U-Boot] [PATCH 2/5] arm: spear: Move to common SPL infrastructure Stefan Roese
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Stefan Roese @ 2015-08-18  7:27 UTC (permalink / raw)
  To: 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 <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) */
-- 
2.4.8

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-08-28 21:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector) Viresh Kumar
2015-08-28 21:03 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox