mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
76b3f195e9
commit
80999a5277
1 changed files with 0 additions and 5 deletions
|
@ -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) */
|
||||
|
|
Loading…
Reference in a new issue