feat(plat/mediatek/mt8186): initialize systimer
Add systimer to support timer function. TEST=build pass BUG=b:202871018 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I505f7d094410d178e4203e3a9294b851a30ba150
This commit is contained in:
parent
1b17e34c5d
commit
a6a0af57c3
|
@ -16,6 +16,7 @@
|
|||
|
||||
/* Platform Includes */
|
||||
#include <emi_mpu.h>
|
||||
#include <mt_timer.h>
|
||||
#include <plat_params.h>
|
||||
#include <plat_private.h>
|
||||
|
||||
|
@ -80,6 +81,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
******************************************************************************/
|
||||
void bl31_platform_setup(void)
|
||||
{
|
||||
mt_systimer_init();
|
||||
emi_mpu_init();
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ MTK_PLAT := plat/mediatek
|
|||
MTK_PLAT_SOC := ${MTK_PLAT}/${PLAT}
|
||||
|
||||
PLAT_INCLUDES := -I${MTK_PLAT}/common/ \
|
||||
-I${MTK_PLAT}/common/drivers/timer/ \
|
||||
-I${MTK_PLAT_SOC}/drivers/emi_mpu/ \
|
||||
-I${MTK_PLAT_SOC}/include/
|
||||
|
||||
|
@ -28,6 +29,7 @@ BL31_SOURCES += common/desc_image_load.c \
|
|||
plat/common/plat_gicv3.c \
|
||||
${MTK_PLAT}/common/mtk_plat_common.c \
|
||||
${MTK_PLAT}/common/params_setup.c \
|
||||
${MTK_PLAT}/common/drivers/timer/mt_timer.c \
|
||||
${MTK_PLAT_SOC}/aarch64/platform_common.c \
|
||||
${MTK_PLAT_SOC}/aarch64/plat_helpers.S \
|
||||
${MTK_PLAT_SOC}/bl31_plat_setup.c \
|
||||
|
|
Loading…
Reference in New Issue