aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-06-22 06:55:32 -0400
committerMichal Simek <monstr@monstr.eu>2009-09-22 04:11:08 -0400
commitcfa9a775b9ddcef7f53c35e489a71cfed8c02710 (patch)
tree8d43222af785530cb2df24910aab6f3de566ffb7 /arch/microblaze
parenta061dd5258b2bad6c44c48d2a2d55f4fd5eb85d8 (diff)
microblaze: Fix _start symbol to physical address
_start is setup to physical kernel start address. This caused that when you load vmlinux (with MMU kernel) via XMD program counter (pc) is setup correctly and then you can write con and start kernel. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S
index dbb98f830f3e..e704188d7855 100644
--- a/arch/microblaze/kernel/vmlinux.lds.S
+++ b/arch/microblaze/kernel/vmlinux.lds.S
@@ -20,6 +20,7 @@ jiffies = jiffies_64 + 4;
20 20
21SECTIONS { 21SECTIONS {
22 . = CONFIG_KERNEL_START; 22 . = CONFIG_KERNEL_START;
23 _start = CONFIG_KERNEL_BASE_ADDR;
23 .text : AT(ADDR(.text) - LOAD_OFFSET) { 24 .text : AT(ADDR(.text) - LOAD_OFFSET) {
24 _text = . ; 25 _text = . ;
25 _stext = . ; 26 _stext = . ;