blob: 3137e5ba01a9fa9501ec95a8744b8a288878d186 [file] [log] [blame]
Uwe Kleine-König9918cda2007-02-16 15:36:55 +01001/*
2 * include/asm-arm/arch-ns9xxx/processor.h
3 *
Uwe Kleine-Königa9fc01f2007-10-16 16:56:05 +02004 * Copyright (C) 2006,2007 by Digi International Inc.
Uwe Kleine-König9918cda2007-02-16 15:36:55 +01005 * 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 Kingbccf6502008-08-02 22:33:18 +010014#include <asm/arch/module.h>
Uwe Kleine-König9918cda2007-02-16 15:36:55 +010015
Uwe Kleine-Königa9fc01f2007-10-16 16:56:05 +020016#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önig9918cda2007-02-16 15:36:55 +010041
42#endif /* ifndef __ASM_ARCH_PROCESSOR_H */