Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 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 | |
Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 14 | extern struct sys_timer cns3xxx_timer; |
| 15 | |
Anton Vorontsov | 93e85d8 | 2011-07-06 16:45:09 +0400 | [diff] [blame] | 16 | #ifdef CONFIG_CACHE_L2X0 |
| 17 | void __init cns3xxx_l2x0_init(void); |
| 18 | #else |
| 19 | static inline void cns3xxx_l2x0_init(void) {} |
| 20 | #endif /* CONFIG_CACHE_L2X0 */ |
| 21 | |
Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 22 | void __init cns3xxx_map_io(void); |
| 23 | void __init cns3xxx_init_irq(void); |
| 24 | void cns3xxx_power_off(void); |
Russell King | 3921470 | 2011-11-05 15:32:23 +0000 | [diff] [blame] | 25 | void cns3xxx_restart(char, const char *); |
Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 26 | |
| 27 | #endif /* __CNS3XXX_CORE_H */ |