summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-08-18 07:27:16 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-28 16:33:16 (GMT)
commit80999a52778ca6cc0452599bdc75ae4b417231be (patch)
treed9ca0b20a05ad944775ef136410ad88beff859ad
parent76b3f195e9c771f03161616a2f35ab7070be178a (diff)
downloadu-boot-80999a52778ca6cc0452599bdc75ae4b417231be.tar.xz
arm: spear: Fix booting - relocate vector table to 0 (low-vector)
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> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: Vipin Kumar <vk.vipin@gmail.com>
-rw-r--r--board/spear/common/spr_lowlevel_init.S5
1 files changed, 0 insertions, 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) */