From 48f83a5416abae7a00bda5848a8385b5c43b4101 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 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")