diff options
author | Anton Vorontsov <avorontsov@mvista.com> | 2010-03-25 10:12:41 -0400 |
---|---|---|
committer | Anton Vorontsov <avorontsov@mvista.com> | 2010-05-02 13:55:46 -0400 |
commit | d94f944e108da21badabd99f527b25e03b677b96 (patch) | |
tree | 3c150c38dcf4c6749eff881bacad872347ab3edd /arch/arm/mach-cns3xxx/core.h | |
parent | ea5ce655b90f5debb7b9768284eaafcca218ddef (diff) |
ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors
This patch adds very basic support for ECONA CNS3xxx ARM11 MPcore
(ARMv6) dual-core processors.
Note that SMP is not yet supported, as well as many peripheral
devices. Support for these features will be added later.
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Diffstat (limited to 'arch/arm/mach-cns3xxx/core.h')
-rw-r--r-- | arch/arm/mach-cns3xxx/core.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/core.h b/arch/arm/mach-cns3xxx/core.h new file mode 100644 index 000000000000..6b33ec11346e --- /dev/null +++ b/arch/arm/mach-cns3xxx/core.h | |||
@@ -0,0 +1,23 @@ | |||
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 | |||
14 | extern void __iomem *gic_cpu_base_addr; | ||
15 | extern struct sys_timer cns3xxx_timer; | ||
16 | |||
17 | void __init cns3xxx_map_io(void); | ||
18 | void __init cns3xxx_init_irq(void); | ||
19 | void cns3xxx_power_off(void); | ||
20 | void cns3xxx_pwr_power_up(unsigned int block); | ||
21 | void cns3xxx_pwr_power_down(unsigned int block); | ||
22 | |||
23 | #endif /* __CNS3XXX_CORE_H */ | ||