mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
armv7: do not relocate _start twice
The _start symbol is already relocated, so do not add the relocation the second time in c_runtime_cpu_setup. This fixes e.g. the abort exception handling path, which ended in double fault due to bad address in VBAR. Signed-off-by: Vincent Stehlé <v-stehle@ti.com> Reported-by: Lubomir Popov <lpopov@mm-sol.com>
This commit is contained in:
parent
de63ac278c
commit
d53e340edf
1 changed files with 0 additions and 1 deletions
|
@ -254,7 +254,6 @@ ENTRY(c_runtime_cpu_setup)
|
|||
#if !defined(CONFIG_TEGRA)
|
||||
/* Set vector address in CP15 VBAR register */
|
||||
ldr r0, =_start
|
||||
add r0, r0, r9
|
||||
mcr p15, 0, r0, c12, c0, 0 @Set VBAR
|
||||
#endif /* !Tegra */
|
||||
|
||||
|
|
Loading…
Reference in a new issue