summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusgogo <[email protected]>2024-04-10 23:55:58 +0800
committerGitHub <[email protected]>2024-04-10 23:55:58 +0800
commit48f83a5416abae7a00bda5848a8385b5c43b4101 (patch)
treebdacde3b314f611e777701b046aa839b39594827
parentbdfa1ea20a4cc653e91ab82a1fc20dfb799d1997 (diff)
add subsys early init level (#8756)
Signed-off-by: geniusgogo <[email protected]>
-rw-r--r--include/rtdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index e3daa03828..d8082150b2 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -183,7 +183,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")