.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * apb_timer.h: Driver for Langwell APB timer based on Synopsis DesignWare |
---|
3 | 4 | * |
---|
4 | 5 | * (C) Copyright 2009 Intel Corporation |
---|
5 | 6 | * Author: Jacob Pan (jacob.jun.pan@intel.com) |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or |
---|
8 | | - * modify it under the terms of the GNU General Public License |
---|
9 | | - * as published by the Free Software Foundation; version 2 |
---|
10 | | - * of the License. |
---|
11 | 7 | * |
---|
12 | 8 | * Note: |
---|
13 | 9 | */ |
---|
.. | .. |
---|
29 | 25 | #define APBT_MIN_FREQ 1000000 |
---|
30 | 26 | #define APBT_MMAP_SIZE 1024 |
---|
31 | 27 | |
---|
32 | | -#define APBT_DEV_USED 1 |
---|
33 | | - |
---|
34 | 28 | extern void apbt_time_init(void); |
---|
35 | | -extern unsigned long apbt_quick_calibrate(void); |
---|
36 | | -extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu); |
---|
37 | 29 | extern void apbt_setup_secondary_clock(void); |
---|
38 | 30 | |
---|
39 | 31 | extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint); |
---|
.. | .. |
---|
42 | 34 | |
---|
43 | 35 | #else /* CONFIG_APB_TIMER */ |
---|
44 | 36 | |
---|
45 | | -static inline unsigned long apbt_quick_calibrate(void) {return 0; } |
---|
46 | 37 | static inline void apbt_time_init(void) { } |
---|
47 | 38 | |
---|
48 | 39 | #endif |
---|