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:
Guennadi Liakhovetski 2018-11-28 11:46:36 +01:00 committed by Liam Girdwood
parent 843553646a
commit 1796980979
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)