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