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/include/mach/system.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/include/mach/system.h')
-rw-r--r-- | arch/arm/mach-cns3xxx/include/mach/system.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/include/mach/system.h b/arch/arm/mach-cns3xxx/include/mach/system.h new file mode 100644 index 000000000000..58bb03ae3cf4 --- /dev/null +++ b/arch/arm/mach-cns3xxx/include/mach/system.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * Copyright 2000 Deep Blue Solutions Ltd | ||
3 | * Copyright 2003 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 __MACH_SYSTEM_H | ||
12 | #define __MACH_SYSTEM_H | ||
13 | |||
14 | #include <linux/io.h> | ||
15 | #include <asm/proc-fns.h> | ||
16 | #include <mach/hardware.h> | ||
17 | |||
18 | static inline void arch_idle(void) | ||
19 | { | ||
20 | /* | ||
21 | * This should do all the clock switching | ||
22 | * and wait for interrupt tricks | ||
23 | */ | ||
24 | cpu_do_idle(); | ||
25 | } | ||
26 | |||
27 | void arch_reset(char mode, const char *cmd); | ||
28 | |||
29 | #endif | ||