zephyr/arch/arc/core
Evgeniy Paltsev 6d083cac7e Revert "arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK"
The commit introduced regression for hsdk4xd platform.
The hsdk4xd SoC setup from soc_early_asm_init_percpu need to be done
in early code before any C code execution.

The current approach has multiple issues
 - we call function (which can be easily implemented in C for
   this or other SoC) from the place where we haven't setup stack
   pointer (so we can't use stack) - which is very error-prone
 - we never return back from soc_reset_hook on hsdk4xd platform

So let's just revert it for now. If any other ARC SoC need to use
soc_reset_hook - than it can be implemented properly.

This reverts commit 8c32a82e47.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2024-10-22 18:28:37 -04:00
..
dsp
mpu arc: start mpu in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
offsets
secureshield arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
CMakeLists.txt
arc_connect.c
cache.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
cpu_idle.S arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
fast_irq.S
fatal.c arch: define `struct arch_esf` and deprecate `z_arch_esf_t` 2024-06-04 14:02:51 -05:00
fault.c arch: define `struct arch_esf` and deprecate `z_arch_esf_t` 2024-06-04 14:02:51 -05:00
fault_s.S
irq_manage.c
irq_offload.c arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
isr_wrapper.S arc: pm: Don't use deprecated function 2024-06-05 17:36:22 -05:00
prep_c.c arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
regular_irq.S
reset.S Revert "arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK" 2024-10-22 18:28:37 -04:00
smp.c arch: call arch_smp_init() directly, do not use SYS_INIT 2024-06-12 18:23:54 -04:00
switch.S
thread.c arch: arc: add support for lock/unlock VPX 2024-10-17 15:49:49 -04:00
thread_entry_wrapper.S
timestamp.c
tls.c
userspace.S
vector_table.c
vector_table.ld