tizen 2.4 release
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8825 / chip_drv_config.h
1 /******************************************************************************
2  ** File Name:    chip_drv_config.h                                            *
3  ** Author:       steve.zhan                                                 *
4  ** DATE:         11/13/2005                                                  *
5  ** Copyright:    2010  Spreatrum, Incoporated. All Rights Reserved.           *
6  ** Description:                                                              *
7  ******************************************************************************/
8 /******************************************************************************
9  **                   Edit    History                                         *
10  **---------------------------------------------------------------------------*
11  ** DATE          NAME            DESCRIPTION                                 *
12  ** 06/05/2010    Steve.zhan      Create.                                     *
13  ******************************************************************************/
14 #ifndef _CHIP_DRV_CONFIG_H_
15 #define _CHIP_DRV_CONFIG_H_
16 /*----------------------------------------------------------------------------*
17  **                         Dependencies                                      *
18  **------------------------------------------------------------------------- */
19
20 /**---------------------------------------------------------------------------*
21  **                             Compiler Flag                                 *
22  **--------------------------------------------------------------------------*/
23 #ifdef   __cplusplus
24 extern   "C"
25 {
26 #endif
27 /**---------------------------------------------------------------------------*
28 **                               Micro Define                                **
29 **---------------------------------------------------------------------------*/
30
31 //CHIP CONFIG
32 #if defined(PLATFORM_SC6800H)
33
34 //Special Chip platfrom io
35 #include "./sc6800h/sc6800h_plf_io.h"
36 //Chip module config header files.About some variant param. configs for the module.
37 #include "./sc6800h/sc6800h_module_config.h"
38 //end Chip Module config
39
40 //Chip Global Function(Reg., BASE, Address,)definitions
41 #include "./sc6800h/sc6800h_reg_base.h"
42 //All chip module reg.
43 #include "./sc6800h/sc6800h_module_ver.h"
44
45 #define CHIP_PLATFORM_DEFINED
46
47 #endif
48
49
50
51 #if defined(PLATFORM_SC6600L)
52 //Special Chip platfrom io
53 #include "./sc6600l/sc6600l_plf_io.h"
54 //Chip module config header files.About some variant param. configs for the module.
55 #include "./sc6600l/sc6600l_module_config.h"
56 //end Chip Module config
57
58 //Chip Global Function(Reg., BASE, Address,)definitions
59 #include "./sc6600l/sc6600l_reg_base.h"
60 //All chip module reg.
61 #include "./sc6600l/sc6600l_module_ver.h"
62
63 #define CHIP_PLATFORM_DEFINED
64 #endif
65
66 #if defined(PLATFORM_SC8800H)
67 //Special Chip platfrom io
68 #include "./sc8800h/sc8800h_plf_io.h"
69 //Chip module config header files.About some variant param. configs for the module.
70 #include "./sc8800h/sc8800h_module_config.h"
71 //end Chip Module config
72
73 //Chip Global Function(Reg., BASE, Address,)definitions
74 #include "./sc8800h/sc8800h_reg_base.h"
75 //All chip module reg.
76 #include "./sc8800h/sc8800h_module_ver.h"
77
78 #define CHIP_PLATFORM_DEFINED
79 #endif
80
81 #if defined(PLATFORM_SC8800G)
82 //Special Chip platfrom io
83 #include "sc8800g_plf_io.h"
84 //Chip module config header files.About some variant param. configs for the module.
85 #include "sc8800g_module_config.h"
86 //end Chip Module config
87
88 //Chip Global Function(Reg., BASE, Address,)definitions
89 #include "sc8800g_reg_base.h"
90 //All chip module reg.
91 #include "sc8800g_module_ver.h"
92
93 #define CHIP_PLATFORM_DEFINED
94 #endif
95 #if defined(CONFIG_SC8810) || defined(CONFIG_TIGER)
96 //Special Chip platfrom io
97 #include "sc8810_plf_io.h"
98 //Chip module config header files.About some variant param. configs for the module.
99 #include "sc8810_module_config.h"
100 //end Chip Module config
101
102 //Chip Global Function(Reg., BASE, Address,)definitions
103 #include "sc8810_reg_base.h"
104 //All chip module reg.
105 #include "sc8810_module_ver.h"
106
107 #define CHIP_PLATFORM_DEFINED
108 #endif
109
110 //End CHIP CONFIG
111
112
113 #if !defined(CHIP_PLATFORM_DEFINED)
114 //#error "chip_drv_config.h CONFIG ERROR"
115 #endif
116
117
118 /**----------------------------------------------------------------------------*
119 **                         Local Function Prototype                           **
120 **----------------------------------------------------------------------------*/
121
122 /**----------------------------------------------------------------------------*
123 **                           Function Prototype                               **
124 **----------------------------------------------------------------------------*/
125
126
127 /**----------------------------------------------------------------------------*
128 **                         Compiler Flag                                      **
129 **----------------------------------------------------------------------------*/
130 #ifdef   __cplusplus
131 }
132 #endif
133 /**---------------------------------------------------------------------------*/
134 #endif
135 // End