summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusgogo <[email protected]>2024-04-10 23:55:58 +0800
committerMeco Man <[email protected]>2024-04-16 22:48:39 -0400
commite3597aa2e40a4b3f74cf0edcf95c99735311f3e1 (patch)
tree135d19bdc9a6aa147be1064971706396bfa7de6c
parent6ec6ea2544a7955684614c075325026d8edebaa1 (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 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")