mirror of https://github.com/thesofproject/sof.git
bootloader: change the start address to match the linker script
The linker script on platforms, using the boot-loader places the .text section at SOF_TEXT_BASE, not at SOF_TEXT_START, the same name should be used for the start address in assembly even though so far on all platforms both names refer to the same location. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
843553646a
commit
1796980979
|
@ -616,7 +616,7 @@ unpackdone:
|
|||
*/
|
||||
|
||||
#if defined(CONFIG_BOOT_LOADER) && !defined(CONFIG_VM_ROM)
|
||||
movi a0, SOF_TEXT_START
|
||||
movi a0, SOF_TEXT_BASE
|
||||
callx0 a0
|
||||
#else
|
||||
call0 _start // jump to _start (in crt1-*.S)
|
||||
|
|
|
@ -587,7 +587,7 @@ unpackdone:
|
|||
|
||||
#if defined(CONFIG_BOOT_LOADER) && !defined(CONFIG_VM_ROM)
|
||||
/*ToDo refine the _start*/
|
||||
movi a0, SOF_TEXT_START
|
||||
movi a0, SOF_TEXT_BASE
|
||||
callx0 a0
|
||||
#else
|
||||
call0 _start // jump to _start (in crt1-*.S)
|
||||
|
|
Loading…
Reference in New Issue