浏览代码

[DM/FIXUP] remove some redundant INIT_EXPORT

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 6 月之前
父节点
当前提交
1bef42c64c
共有 2 个文件被更改,包括 3 次插入8 次删除
  1. 2 7
      include/rtdef.h
  2. 1 1
      libcpu/aarch64/common/psci.c

+ 2 - 7
include/rtdef.h

@@ -180,15 +180,10 @@ typedef int (*init_fn_t)(void);
 
 /* init cpu, memory, interrupt-controller, bus... */
 #define INIT_CORE_EXPORT(fn)            INIT_EXPORT(fn, "1.0")
-/* init pci/pcie, usb platform driver... */
-#define INIT_FRAMEWORK_EXPORT(fn)       INIT_EXPORT(fn, "1.1")
+/* init sys-timer, clk, pinctrl... */
+#define INIT_SUBSYS_EXPORT(fn)          INIT_EXPORT(fn, "1.1")
 /* init platform, user code... */
 #define INIT_PLATFORM_EXPORT(fn)        INIT_EXPORT(fn, "1.2")
-/* init sys-timer, clk, pinctrl... */
-#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")
 
 /* pre/device/component/env/app init routines will be called in init_thread */
 /* components pre-initialization (pure software initialization) */

+ 1 - 1
libcpu/aarch64/common/psci.c

@@ -415,4 +415,4 @@ static int psci_drv_register(void)
 
     return 0;
 }
-INIT_FRAMEWORK_EXPORT(psci_drv_register);
+INIT_PLATFORM_EXPORT(psci_drv_register);