zephyr/soc/nordic/common
Grzegorz Swiderski 7d45f3c92a soc: nordic: Provide z_arm_platform_init at link time
Nordic SoCs use this hook to execute `SystemInit` as early as possible
after ARM core reset. Previously, `z_arm_platform_init` was defined as
assembly code, which would simply jump to the other function.

However, this extra code can be avoided by using `SystemInit` directly
in place of the `z_arm_platform_init` symbol (whenever it's undefined).
This is now done with a linker script containing a `PROVIDE` directive.

This saves 4 bytes of ROM (0-16 depending on alignment) and also makes
it possible to override `z_arm_platform_init` out of tree, if needed.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-04-10 07:45:42 -04:00
..
vpr soc: nordic: Provide z_arm_platform_init at link time 2024-04-10 07:45:42 -04:00
CMakeLists.txt soc: nordic: Provide z_arm_platform_init at link time 2024-04-10 07:45:42 -04:00
Kconfig hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.defconfig hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.peripherals soc: nordic: add nRF54 PWM HAS_HW & base addr validation 2024-04-09 11:05:46 +02:00
pinctrl_soc.h hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
poweroff.c hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
soc_nrf_common.h hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
soc_secure.c hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
soc_secure.h soc: nordic: Refactor soc_secure.h 2024-04-04 13:17:13 -05:00