Commit 91550777 authored by Yidi Lin's avatar Yidi Lin
Browse files

mediatek: mt8195: initialize systimer



Change-Id: I7e0fbd04b0cdf5da92b8ef39737342f2d66f5f10
Signed-off-by: default avatarYidi Lin <yidi.lin@mediatek.com>
parent 46946036
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
/* Platform Includes */ /* Platform Includes */
#include <mt_gic_v3.h> #include <mt_gic_v3.h>
#include <mt_timer.h>
#include <plat_params.h> #include <plat_params.h>
#include <plat_private.h> #include <plat_private.h>
...@@ -83,6 +84,8 @@ void bl31_platform_setup(void) ...@@ -83,6 +84,8 @@ void bl31_platform_setup(void)
/* Initialize the GIC driver, CPU and distributor interfaces */ /* Initialize the GIC driver, CPU and distributor interfaces */
mt_gic_driver_init(); mt_gic_driver_init();
mt_gic_init(); mt_gic_init();
mt_systimer_init();
} }
/******************************************************************************* /*******************************************************************************
......
...@@ -9,6 +9,7 @@ MTK_PLAT_SOC := ${MTK_PLAT}/${PLAT} ...@@ -9,6 +9,7 @@ MTK_PLAT_SOC := ${MTK_PLAT}/${PLAT}
PLAT_INCLUDES := -I${MTK_PLAT}/common/ \ PLAT_INCLUDES := -I${MTK_PLAT}/common/ \
-I${MTK_PLAT}/common/drivers/gic600/ \ -I${MTK_PLAT}/common/drivers/gic600/ \
-I${MTK_PLAT}/common/drivers/timer/ \
-I${MTK_PLAT_SOC}/include/ -I${MTK_PLAT_SOC}/include/
GICV3_SUPPORT_GIC600 := 1 GICV3_SUPPORT_GIC600 := 1
...@@ -28,6 +29,7 @@ BL31_SOURCES += common/desc_image_load.c \ ...@@ -28,6 +29,7 @@ BL31_SOURCES += common/desc_image_load.c \
lib/cpus/aarch64/cortex_a78.S \ lib/cpus/aarch64/cortex_a78.S \
plat/common/plat_gicv3.c \ plat/common/plat_gicv3.c \
${MTK_PLAT}/common/drivers/gic600/mt_gic_v3.c \ ${MTK_PLAT}/common/drivers/gic600/mt_gic_v3.c \
${MTK_PLAT}/common/drivers/timer/mt_timer.c \
${MTK_PLAT}/common/mtk_cirq.c \ ${MTK_PLAT}/common/mtk_cirq.c \
${MTK_PLAT}/common/mtk_plat_common.c \ ${MTK_PLAT}/common/mtk_plat_common.c \
${MTK_PLAT}/common/params_setup.c \ ${MTK_PLAT}/common/params_setup.c \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment