zephyr/drivers/console
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
..
CMakeLists.txt console: move winstream console to drivers/ 2022-10-11 08:28:25 -04:00
Kconfig console: move winstream console to drivers/ 2022-10-11 08:28:25 -04:00
Kconfig.gsm_mux
efi_console.c
gsm_mux.c
gsm_mux.h
ipm_console.c drivers: console: ipm_console: Update driver to use DEVICE_DT_GET 2022-07-26 08:49:20 +02:00
ipm_console_receiver.c
ipm_console_sender.c
jailhouse_debug_console.c
native_posix_console.c
ram_console.c
rtt_console.c drivers: console: rtt_console: undefined reference 2022-09-12 15:08:47 +01:00
semihost_console.c
uart_console.c drivers: console: initialize uart devices at compile time 2022-08-19 11:51:26 +02:00
uart_mcumgr.c mgmt: mcumgr: Fix output packet to frame issue on serial transport 2022-09-09 19:47:12 +00:00
uart_mux.c console: uart_mux: uart_mux_send to return number of bytes sent 2022-08-16 08:28:03 +00:00
uart_mux_internal.h console: uart_mux: uart_mux_send to return number of bytes sent 2022-08-16 08:28:03 +00:00
winstream_console.c init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
xtensa_sim_console.c