From 8e99222114e4a842c0f643bc6d2c19e5ff9183ad Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 11 Oct 2022 10:10:01 -0400 Subject: [PATCH] doc: document ARCH initialization level document new initialization level ARCH, used to init drivers/services very early in the ARCH code and before z_cstart(). Signed-off-by: Anas Nashif --- doc/kernel/drivers/index.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/kernel/drivers/index.rst b/doc/kernel/drivers/index.rst index 977328e78f..034b525636 100644 --- a/doc/kernel/drivers/index.rst +++ b/doc/kernel/drivers/index.rst @@ -343,6 +343,12 @@ allow the user to specify at what time during the boot sequence the init function will be executed. Any driver will specify one of four initialization levels: +``ARCH`` + Used very early in the boot process before ``z_cstart()`` is + called. This can be used in architectures and SoCs that extend or + implement architecture code and use drivers or system services that have + to be initialized before calling ``z_cstart()``. + ``PRE_KERNEL_1`` Used for devices that have no dependencies, such as those that rely solely on hardware present in the processor/SOC. These devices cannot