2007-02-16 22:36:55 +08:00
|
|
|
/*
|
|
|
|
* include/asm-arm/arch-ns9xxx/processor.h
|
|
|
|
*
|
2007-10-16 22:56:05 +08:00
|
|
|
* Copyright (C) 2006,2007 by Digi International Inc.
|
2007-02-16 22:36:55 +08:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
|
|
* the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_PROCESSOR_H
|
|
|
|
#define __ASM_ARCH_PROCESSOR_H
|
|
|
|
|
2007-10-16 22:56:05 +08:00
|
|
|
#include <asm/arch-ns9xxx/module.h>
|
2007-02-16 22:36:55 +08:00
|
|
|
|
2007-10-16 22:56:05 +08:00
|
|
|
#define processor_is_ns9210() (0 \
|
|
|
|
|| module_is_cc7ucamry() \
|
|
|
|
|| module_is_cc9p9210() \
|
|
|
|
|| module_is_inc20otter() \
|
|
|
|
|| module_is_otter() \
|
|
|
|
)
|
|
|
|
|
|
|
|
#define processor_is_ns9215() (0 \
|
|
|
|
|| module_is_cc9p9215() \
|
|
|
|
)
|
|
|
|
|
|
|
|
#define processor_is_ns9360() (0 \
|
|
|
|
|| module_is_cc9p9360() \
|
|
|
|
|| module_is_cc9c() \
|
|
|
|
|| module_is_ccw9c() \
|
|
|
|
)
|
|
|
|
|
|
|
|
#define processor_is_ns9750() (0 \
|
|
|
|
|| module_is_cc9p9750() \
|
|
|
|
)
|
|
|
|
|
|
|
|
#define processor_is_ns921x() (0 \
|
|
|
|
|| processor_is_ns9210() \
|
|
|
|
|| processor_is_ns9215() \
|
|
|
|
)
|
2007-02-16 22:36:55 +08:00
|
|
|
|
|
|
|
#endif /* ifndef __ASM_ARCH_PROCESSOR_H */
|