From 129f751faecd36ff8226e98a55ef5da4686ff8be Mon Sep 17 00:00:00 2001 From: xuxingliang Date: Tue, 9 Jul 2024 10:11:50 +0800 Subject: [PATCH] Documentation: add drivers early initialization Signed-off-by: xuxingliang --- Documentation/components/drivers/index.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/components/drivers/index.rst b/Documentation/components/drivers/index.rst index 401f7336ca..26697f597f 100644 --- a/Documentation/components/drivers/index.rst +++ b/Documentation/components/drivers/index.rst @@ -283,3 +283,15 @@ The following skeleton files are available: * ``drivers/mtd/skeleton.c`` Skeleton memory technology device drivers * ``drivers/net/skeleton.c`` Skeleton network/Ethernet drivers * ``drivers/usbhost/usbhost_skeleton.c`` Skeleton USB host class driver + +Drivers Early Initialization +============================ + +To initialize drivers early in the boot process, the :c:func:`drivers_early_initialize` +function is introduced. This is particularly beneficial for certain drivers, +such as SEGGER SystemView, or others that require initialization before the +system is fully operational. + +It is important to note that during this early initialization phase, +system resources are not yet available for use. This includes memory allocation, +file systems, and any other system resources.