sh: Ignore R_SH_NONE module relocations.
[pandora-kernel.git] / arch / arm / plat-stmp3xxx / include / mach / cputype.h
1 /*
2  * Freescale STMP37XX/STMP378X CPU type detection
3  *
4  * Embedded Alley Solutions, Inc <source@embeddedalley.com>
5  *
6  * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
7  * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
8  */
9
10 /*
11  * The code contained herein is licensed under the GNU General Public
12  * License. You may obtain a copy of the GNU General Public License
13  * Version 2 or later at the following locations:
14  *
15  * http://www.opensource.org/licenses/gpl-license.html
16  * http://www.gnu.org/copyleft/gpl.html
17  */
18 #ifndef __ASM_PLAT_CPU_H
19 #define __ASM_PLAT_CPU_H
20
21 #ifdef CONFIG_ARCH_STMP37XX
22 #define cpu_is_stmp37xx()       (1)
23 #else
24 #define cpu_is_stmp37xx()       (0)
25 #endif
26
27 #ifdef CONFIG_ARCH_STMP378X
28 #define cpu_is_stmp378x()       (1)
29 #else
30 #define cpu_is_stmp378x()       (0)
31 #endif
32
33 #endif /* __ASM_PLAT_CPU_H */