soc: ti: k3: am6x: do not override KERNEL_ENTRY
The SOC defconfig overrides CONFIG_KERNEL_ENTRY from the default of __start to _vector_table. This is undesirable for cores such as M4 where the _vector_table symbol has just raw addresses and no instructions. The change was done to make sure Zephyr images can be loaded via remoteproc in which case the entrypoint needs to be 64 byte aligned. To fix this, use _vector_table as the ELF entrypoint only for R5 cores. Signed-off-by: Amneesh Singh <a-singh7@ti.com>
This commit is contained in:
parent
e1d7641d36
commit
c4dcb17637
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
if SOC_SERIES_AM6X
|
||||
|
||||
config KERNEL_ENTRY
|
||||
default "_vector_table"
|
||||
default "_vector_table" if SOC_SERIES_AM6X_R5
|
||||
|
||||
# Workaround for not being able to have commas in macro arguments
|
||||
DT_CHOSEN_Z_FLASH := zephyr,flash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue