Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-ns9xxx/processor.h |
| 3 | * |
Uwe Kleine-König | a9fc01f | 2007-10-16 16:56:05 +0200 | [diff] [blame] | 4 | * Copyright (C) 2006,2007 by Digi International Inc. |
Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 5 | * All rights reserved. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License version 2 as published by |
| 9 | * the Free Software Foundation. |
| 10 | */ |
| 11 | #ifndef __ASM_ARCH_PROCESSOR_H |
| 12 | #define __ASM_ARCH_PROCESSOR_H |
| 13 | |
Russell King | bccf650 | 2008-08-02 22:33:18 +0100 | [diff] [blame] | 14 | #include <asm/arch/module.h> |
Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 15 | |
Uwe Kleine-König | a9fc01f | 2007-10-16 16:56:05 +0200 | [diff] [blame] | 16 | #define processor_is_ns9210() (0 \ |
| 17 | || module_is_cc7ucamry() \ |
| 18 | || module_is_cc9p9210() \ |
| 19 | || module_is_inc20otter() \ |
| 20 | || module_is_otter() \ |
| 21 | ) |
| 22 | |
| 23 | #define processor_is_ns9215() (0 \ |
| 24 | || module_is_cc9p9215() \ |
| 25 | ) |
| 26 | |
| 27 | #define processor_is_ns9360() (0 \ |
| 28 | || module_is_cc9p9360() \ |
| 29 | || module_is_cc9c() \ |
| 30 | || module_is_ccw9c() \ |
| 31 | ) |
| 32 | |
| 33 | #define processor_is_ns9750() (0 \ |
| 34 | || module_is_cc9p9750() \ |
| 35 | ) |
| 36 | |
| 37 | #define processor_is_ns921x() (0 \ |
| 38 | || processor_is_ns9210() \ |
| 39 | || processor_is_ns9215() \ |
| 40 | ) |
Uwe Kleine-König | 9918cda | 2007-02-16 15:36:55 +0100 | [diff] [blame] | 41 | |
| 42 | #endif /* ifndef __ASM_ARCH_PROCESSOR_H */ |