arm: sc8830: fix redefined macro warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / common.h
1 /******************************************************************************
2  ** File Name:    common.h                                                    *
3  ** Author:       Daniel.Ding                                                 *
4  ** DATE:         3/9/2005                                                    *
5  ** Copyright:    2005 Spreatrum, Incoporated. All Rights Reserved.           *
6  ** Description:                                                              *
7  ******************************************************************************/
8 /******************************************************************************
9  **                   Edit    History                                         *
10  **---------------------------------------------------------------------------*
11  ** DATE          NAME            DESCRIPTION                                 *
12  ** 9/1/2003      Daniel.Ding     Create.                                     *
13  ******************************************************************************/
14 #ifndef _COMMON_H_
15 #define _COMMON_H_
16 /*----------------------------------------------------------------------------*
17  **                         Dependencies                                      *
18  **-------------------------------------------------------------------------- */
19
20 //#include "stdio.h"
21 #include "stdarg.h"
22 #include "linux/string.h"
23 #include "sci_types.h"
24 #include "sc_fdl_reg.h"
25 #include "bits.h"
26
27 /**---------------------------------------------------------------------------*
28  **                             Compiler Flag                                 *
29  **---------------------------------------------------------------------------*/
30 #ifdef   __cplusplus
31 extern   "C"
32 {
33 #endif
34 /**----------------------------------------------------------------------------*
35 **                               Micro Define                                 **
36 **----------------------------------------------------------------------------*/
37 #define ENABLE   1
38 #define DISABLE  0
39
40 //#define REG32(x)                                    (*((volatile uint32 *)(x)))
41 /**----------------------------------------------------------------------------*
42 **                             Data Prototype                                 **
43 **----------------------------------------------------------------------------*/
44
45 /**----------------------------------------------------------------------------*
46 **                         Local Function Prototype                           **
47 **----------------------------------------------------------------------------*/
48
49 /**----------------------------------------------------------------------------*
50 **                           Function Prototype                               **
51 **----------------------------------------------------------------------------*/
52
53 /**----------------------------------------------------------------------------*
54 **                         Compiler Flag                                      **
55 **----------------------------------------------------------------------------*/
56 #ifdef   __cplusplus
57 }
58 #endif
59 /**---------------------------------------------------------------------------*/
60 #endif
61 // End
62