Commit | Line | Data |
---|---|---|
d94f944e AV |
1 | /* |
2 | * Copyright 2000 Deep Blue Solutions Ltd | |
3 | * Copyright 2004 ARM Limited | |
4 | * Copyright 2008 Cavium Networks | |
5 | * | |
6 | * This file 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. | |
9 | */ | |
10 | ||
11 | #ifndef __CNS3XXX_CORE_H | |
12 | #define __CNS3XXX_CORE_H | |
13 | ||
7b6d864b RH |
14 | #include <linux/reboot.h> |
15 | ||
6bb27d73 | 16 | extern void cns3xxx_timer_init(void); |
d94f944e | 17 | |
93e85d8e AV |
18 | #ifdef CONFIG_CACHE_L2X0 |
19 | void __init cns3xxx_l2x0_init(void); | |
20 | #else | |
21 | static inline void cns3xxx_l2x0_init(void) {} | |
22 | #endif /* CONFIG_CACHE_L2X0 */ | |
23 | ||
0a2e912d XK |
24 | #ifdef CONFIG_PCI |
25 | extern void __init cns3xxx_pcie_init_late(void); | |
26 | #else | |
27 | static inline void __init cns3xxx_pcie_init_late(void) {} | |
28 | #endif | |
29 | ||
d94f944e AV |
30 | void __init cns3xxx_map_io(void); |
31 | void __init cns3xxx_init_irq(void); | |
32 | void cns3xxx_power_off(void); | |
7b6d864b | 33 | void cns3xxx_restart(enum reboot_mode, const char *); |
d94f944e AV |
34 | |
35 | #endif /* __CNS3XXX_CORE_H */ |