aboutsummaryrefslogtreecommitdiff
path: root/plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c')
-rw-r--r--plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c b/plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
index b357972e41..3696f8eec7 100644
--- a/plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
+++ b/plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
@@ -4,13 +4,15 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include <stdint.h>
#include <arch_helpers.h>
-#include <debug.h>
-#include <mmio.h>
+#include <common/debug.h>
+#include <lib/mmio.h>
+#include <plat/common/platform.h>
+
#include <mt_cpuxgpt.h>
-#include <platform.h>
-#include <stdint.h>
+
#define CPUXGPT_BASE 0x10200000
#define INDEX_BASE (CPUXGPT_BASE+0x0674)
#define CTL_BASE (CPUXGPT_BASE+0x0670)