1*91f16700Schasinglulu /* 2*91f16700Schasinglulu * Copyright (c) 2022, MediaTek Inc. All rights reserved. 3*91f16700Schasinglulu * 4*91f16700Schasinglulu * SPDX-License-Identifier: BSD-3-Clause 5*91f16700Schasinglulu */ 6*91f16700Schasinglulu 7*91f16700Schasinglulu #ifndef MTK_INIT_DEF_H 8*91f16700Schasinglulu #define MTK_INIT_DEF_H 9*91f16700Schasinglulu 10*91f16700Schasinglulu /* 11*91f16700Schasinglulu * Define init call sections here. _func is for 2nd level expansion, init 12*91f16700Schasinglulu * section enum, and init section name. 13*91f16700Schasinglulu */ 14*91f16700Schasinglulu #define INIT_CALL_TABLE(_func) \ 15*91f16700Schasinglulu _func(MTK_INIT_LVL_EARLY_PLAT, .mtk_plat_initcall_, 0) \ 16*91f16700Schasinglulu _func(MTK_INIT_LVL_ARCH, .mtk_plat_initcall_, 1) \ 17*91f16700Schasinglulu _func(MTK_INIT_LVL_PLAT_SETUP_0, .mtk_plat_initcall_, 2) \ 18*91f16700Schasinglulu _func(MTK_INIT_LVL_PLAT_SETUP_1, .mtk_plat_initcall_, 3) \ 19*91f16700Schasinglulu _func(MTK_INIT_LVL_PLAT_RUNTIME, .mtk_plat_initcall_, 4) \ 20*91f16700Schasinglulu _func(MTK_INIT_LVL_BL33_DEFER, .mtk_plat_initcall_, 5) 21*91f16700Schasinglulu 22*91f16700Schasinglulu #endif /* MTK_INIT_DEF_H */ 23