hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-mmp/pxa168.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-mmp/pxa168.c
34 *
45 * Code specific to PXA168
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/module.h>
118 #include <linux/kernel.h>
....@@ -22,9 +19,8 @@
2219 #include <asm/system_misc.h>
2320
2421 #include "addr-map.h"
25
-#include "clock.h"
2622 #include "common.h"
27
-#include "cputype.h"
23
+#include <linux/soc/mmp/cputype.h>
2824 #include "devices.h"
2925 #include "irqs.h"
3026 #include "mfp.h"
....@@ -79,7 +75,7 @@
7975 /* 3.25MHz, bus/functional clock enabled, release reset */
8076 __raw_writel(TIMER_CLK_RST, APBC_TIMERS);
8177
82
- timer_init(IRQ_PXA168_TIMER1);
78
+ mmp_timer_init(IRQ_PXA168_TIMER1, 3250000);
8379 }
8480
8581 void pxa168_clear_keypad_wakeup(void)