zephyr/cmake
Gerard Marull-Paretas e42f58ec94 init: s/ARCH/EARLY, call it just before arch kernel init
The `ARCH` init level was added to solve a specific problem, call init
code (SYS_INIT/devices) before `z_cstart` in the `intel_adsp` platform.
The documentation claims it runs before `z_cstart`, but this is only
true if the SoC/arch takes care of calling:

```c
z_sys_init_run_level(_SYS_INIT_LEVEL_ARCH);
```

Which is only true for `intel_adsp` nowadays. So in practice, we now
have a platform specific init level. This patch proposes to do things in
a slightly different way. First, level name is renamed to `EARLY`, to
emphasize it runs in the early stage of the boot process. Then, it is
handled by the Kernel (inside `z_cstart()` before calling
`arch_kernel_init()`). This means that any platform can now use this
level. For `intel_adsp`, there should be no changes, other than
`gcov_static_init()` will be called before (I assume this will allow to
obtain coverage for code called in EARLY?).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-12 17:16:27 +09:00
..
app
bintools cmake: bintools: gnu: Do not use gdb-multiarch 2022-09-07 09:27:16 +00:00
compiler cmake: clang: Disable deprecated non-prototype warning 2022-10-03 17:56:26 +09:00
emu cmake: armfvp: permit run zephyr together with tf-a 2022-09-09 16:36:37 +00:00
flash cmake: update common Zephyr build settings to use zephyr_get() 2022-09-02 15:16:50 +02:00
ide
linker arm: rename default RAM region from 'SRAM' to 'RAM' 2022-10-03 10:09:53 +02:00
linker_script init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
makefile_exports
modules cmake: propagate endianess to CMake CMAKE_<lang>_BYTE_ORDER setting 2022-09-26 15:09:38 +00:00
reports
toolchain cmake: detect sysroot for cross-compile toolchains 2022-09-23 16:37:44 +02:00
usage
util
cfb.cmake scripts: move gen_cfb_font_header.py to scripts/build 2022-07-12 10:03:45 +02:00
extra_flags.cmake cmake: fix improper use of separate_arguments 2022-09-05 10:22:05 +02:00
gcc-m-cpu.cmake arch: arm64: define A55 core 2022-06-29 10:27:19 +02:00
gcc-m-fpu.cmake cmake: allow Cortex-R52 to configure VFP 2022-07-26 08:48:07 +02:00
gen_version_h.cmake
hex.cmake
kobj.cmake scripts: move gen_kobject_list.py to scripts/build/gen_kobject_list.py 2022-07-12 10:03:45 +02:00
mcuboot.cmake
package_helper.cmake cmake: Update cmake_minimum_required to 3.20.0 2022-07-04 10:18:45 +02:00
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00