1/*
2 * Copyright 2013, winocm. <winocm@icloud.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 *   Redistributions of source code must retain the above copyright notice, this
9 *   list of conditions and the following disclaimer.
10 *
11 *   Redistributions in binary form must reproduce the above copyright notice, this
12 *   list of conditions and the following disclaimer in the documentation and/or
13 *   other materials provided with the distribution.
14 *
15 *   If you are going to use this software in any form that does not involve
16 *   releasing the source to this project or improving it, let me know beforehand.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#ifndef _PLATFORMCONFIGS_H_
31#define _PLATFORMCONFIGS_H_
32
33/* ARMv7 Cortex-A9 platforms. */
34
35#ifdef BOARD_CONFIG_MSM8960_TOUCHPAD
36#define __ARM_PROCESSOR_CLASS_CORTEX_A9__		1
37#define __ARM_PROCESSOR_CLASS_QUALCOMM_A9__		1
38#endif
39
40/* ARMv7 Cortex-A8 platforms. */
41
42#ifdef BOARD_CONFIG_S5L8920X
43#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
44#endif
45
46#ifdef BOARD_CONFIG_S5L8922X
47#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
48#endif
49
50#ifdef BOARD_CONFIG_S5L8930X
51#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
52#endif
53
54#ifdef BOARD_CONFIG_OMAP3430_RX51
55#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
56#endif
57
58#ifdef BOARD_CONFIG_OMAP335X
59#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
60#endif
61
62#ifdef BOARD_CONFIG_OMAP3530
63#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
64#endif
65
66#ifdef BOARD_CONFIG_ARMPBA8
67#define __ARM_PROCESSOR_CLASS_CORTEX_A8__		1
68#endif
69
70/* ARMv6 ARM11JZF-S platforms. */
71#ifdef BOARD_CONFIG_S5L8900XRB
72#define __ARM_PROCESSOR_CLASS_11JZFS__			1
73#endif
74
75#ifdef BOARD_CONFIG_RASPBERRYPI
76#define __ARM_PROCESSOR_CLASS_11JZFS__			1
77#endif
78
79#ifdef BOARD_CONFIG_S5L8720X
80#define __ARM_PROCESSOR_CLASS_11JZFS__			1
81#endif
82
83#endif /* _PLATFORMCONFIGS_H_ */