add subsys early init level (#8756)

Signed-off-by: geniusgogo <xpxyr@sina.com>
This commit is contained in:
geniusgogo 2024-04-10 23:55:58 +08:00 committed by Meco Man
parent 6ec6ea2544
commit e3597aa2e4
1 changed files with 2 additions and 1 deletions

View File

@ -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")