Initial commit
[kernel/linux-3.0.git] / drivers / staging / westbridge / astoria / arch / arm / plat-c110 / include / mach / westbridge / cyashaldef.h
1 /* Cypress West Bridge API header file (cyashaldef.h)
2 ## ===========================
3 ## Copyright (C) 2010  Cypress Semiconductor
4 ##
5 ## This program is free software; you can redistribute it and/or
6 ## modify it under the terms of the GNU General Public License
7 ## as published by the Free Software Foundation; either version 2
8 ## of the License, or (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin Street, Fifth Floor
18 ## Boston, MA  02110-1301, USA.
19 ## ===========================
20 */
21
22 #ifndef _INCLUDED_CYASHALDEF_H_
23 #define _INCLUDED_CYASHALDEF_H_
24
25 /* Summary
26  * If set to TRUE, the basic numeric types are defined by the
27  * West Bridge API code
28  *
29  * Description
30  * The West Bridge API relies on some basic integral types to be
31  * defined.  These types include uint8_t, int8_t, uint16_t,
32  * int16_t, uint32_t, and int32_t.  If this macro is defined the
33  * West Bridge API will define these types based on some basic
34  * assumptions.  If this value is set and the West Bridge API is
35  * used to set these types, the definition of these types must be
36  * examined to insure that they are appropriate for the given
37  * target architecture and compiler.
38  *
39  * Notes
40  * It is preferred that if the basic platform development
41  * environment defines these types that the CY_DEFINE_BASIC_TYPES
42  * macro be undefined and the appropriate target system header file
43  * be added to the file cyashaldef.h.
44  */
45
46 #include <linux/types.h>
47
48
49 #if !defined(__doxygen__)
50 typedef int cy_bool ;
51 #define cy_true                         (1)
52 #define cy_false                                (0)
53 #endif
54
55 #endif                  /* _INCLUDED_CYASHALDEF_H_ */