tizen 2.4 release
[kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8800g / 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 /**---------------------------------------------------------------------------*
26  **                             Compiler Flag                                 *
27  **---------------------------------------------------------------------------*/
28 #ifdef   __cplusplus
29 extern   "C"
30 {
31 #endif
32 /**----------------------------------------------------------------------------*
33 **                               Micro Define                                 **
34 **----------------------------------------------------------------------------*/
35 #define ENABLE   1
36 #define DISABLE  0
37
38 //#define REG32(x)                                    (*((volatile uint32 *)(x)))
39 /*
40     Bit define
41 */
42 #include <asm/arch/bits.h>
43 /**----------------------------------------------------------------------------*
44 **                             Data Prototype                                 **
45 **----------------------------------------------------------------------------*/
46
47 /**----------------------------------------------------------------------------*
48 **                         Local Function Prototype                           **
49 **----------------------------------------------------------------------------*/
50
51 /**----------------------------------------------------------------------------*
52 **                           Function Prototype                               **
53 **----------------------------------------------------------------------------*/
54
55 /**----------------------------------------------------------------------------*
56 **                         Compiler Flag                                      **
57 **----------------------------------------------------------------------------*/
58 #ifdef   __cplusplus
59 }
60 #endif
61 /**---------------------------------------------------------------------------*/
62 #endif
63 // End
64