From e3597aa2e40a4b3f74cf0edcf95c99735311f3e1 Mon Sep 17 00:00:00 2001 From: geniusgogo <2041245+geniusgogo@users.noreply.github.com> Date: Wed, 10 Apr 2024 23:55:58 +0800 Subject: [PATCH] add subsys early init level (#8756) Signed-off-by: geniusgogo --- include/rtdef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/rtdef.h b/include/rtdef.h index 47e02b3e9e..53e7a6348f 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -181,7 +181,8 @@ typedef int (*init_fn_t)(void); /* init platform, user code... */ #define INIT_PLATFORM_EXPORT(fn) INIT_EXPORT(fn, "1.2") /* init sys-timer, clk, pinctrl... */ -#define INIT_SUBSYS_EXPORT(fn) INIT_EXPORT(fn, "1.3") +#define INIT_SUBSYS_EARLY_EXPORT(fn) INIT_EXPORT(fn, "1.3.0") +#define INIT_SUBSYS_EXPORT(fn) INIT_EXPORT(fn, "1.3.1") /* init early drivers */ #define INIT_DRIVER_EARLY_EXPORT(fn) INIT_EXPORT(fn, "1.4")