hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-mmp/pxa910.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-mmp/pxa910.c
34 *
45 * Code specific to PXA910
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107 #include <linux/clk/mmp.h>
118 #include <linux/module.h>
....@@ -21,7 +18,7 @@
2118 #include <asm/mach/time.h>
2219 #include "addr-map.h"
2320 #include "regs-apbc.h"
24
-#include "cputype.h"
21
+#include <linux/soc/mmp/cputype.h>
2522 #include "irqs.h"
2623 #include "mfp.h"
2724 #include "devices.h"
....@@ -116,7 +113,7 @@
116113 __raw_writel(APBC_APBCLK | APBC_RST, APBC_TIMERS);
117114 __raw_writel(TIMER_CLK_RST, APBC_TIMERS);
118115
119
- timer_init(IRQ_PXA910_AP1_TIMER1);
116
+ mmp_timer_init(IRQ_PXA910_AP1_TIMER1, 3250000);
120117 }
121118
122119 /* on-chip devices */