]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/devs/serial/freescale/esci/drv/v2_0/cdl/ser_freescale_esci.cdl
Initial revision
[karo-tx-redboot.git] / packages / devs / serial / freescale / esci / drv / v2_0 / cdl / ser_freescale_esci.cdl
1 # ====================================================================
2 #
3 #      ser_freescale_esci.cdl
4 #
5 #      eCos serial Freescale/esci configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ## Copyright (C) 2006 eCosCentric Ltd
13 ##
14 ## eCos is free software; you can redistribute it and/or modify it under
15 ## the terms of the GNU General Public License as published by the Free
16 ## Software Foundation; either version 2 or (at your option) any later version.
17 ##
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21 ## for more details.
22 ##
23 ## You should have received a copy of the GNU General Public License along
24 ## with eCos; if not, write to the Free Software Foundation, Inc.,
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ##
27 ## As a special exception, if other files instantiate templates or use macros
28 ## or inline functions from this file, or you compile this file and link it
29 ## with other works to produce a work based on this file, this file does not
30 ## by itself cause the resulting work to be covered by the GNU General Public
31 ## License. However the source code for this file must still be made available
32 ## in accordance with section (3) of the GNU General Public License.
33 ##
34 ## This exception does not invalidate any other reasons why a work based on
35 ## this file might be covered by the GNU General Public License.
36 ## -------------------------------------------
37 #####ECOSGPLCOPYRIGHTEND####
38 # ====================================================================
39 ######DESCRIPTIONBEGIN####
40 #
41 # Author(s):      Ilija Koco <ilijak@siva.com.mk>
42 # Original data:
43 # Contributors:
44 # Date:           2006-04-20
45 #
46 #####DESCRIPTIONEND####
47 #
48 # ====================================================================
49
50 cdl_package CYGPKG_IO_SERIAL_FREESCALE_ESCI {
51     display       "eSCI device driver"
52
53     parent        CYGPKG_IO_SERIAL_DEVICES
54     active_if     CYGPKG_IO_SERIAL
55
56     requires      CYGPKG_IO_SERIAL_FREESCALE_ESCI_H
57     
58     requires      (CYGPKG_ERROR && (CYGPKG_IO_SERIAL_FREESCALE_ESCI_A || \
59                                     CYGPKG_IO_SERIAL_FREESCALE_ESCI_B || \
60                                     CYGPKG_IO_SERIAL_FREESCALE_ESCI_C || \
61                                     CYGPKG_IO_SERIAL_FREESCALE_ESCI_D) \
62                                     )
63     
64     include_dir   cyg/devs
65
66     description   "
67            This option enables the serial device drivers for the
68            Freescale eSCI - Enhanced Serial Communication Interface.
69            eSCI is on-chip serial controller found on some freescale 
70            microcontrollers such as: MAC7100 familly, etc.
71            "
72     compile       -library=libextras.a   ser_esci.c
73
74     define_proc {
75         puts $::cdl_system_header "/***** serial driver proc output start *****/"
76         puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_freescale_esci.h>"
77         puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
78     }
79
80     cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_A {
81         display       "eSCI port A driver"
82         flavor        bool
83         default_value 0
84         description   "
85             This option includes the serial device driver for the eSCI port A."
86
87         cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_A_NAME {
88             display       "Device name for eSCI port A"
89             flavor        data
90             default_value {"\"/dev/ser0\""}
91             description   "
92                 This option specifies the device name for the eSCI port A."
93         }
94
95         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_BAUD {
96             display       "Baud rate for the eSCI serial port A driver"
97             flavor        data
98             legal_values  { 300 600 1200 2400 4800 9600 14400 19200 38400 
99                             57600 115200 }
100             default_value 38400
101             description "
102                 This option specifies the default baud rate (speed) for the 
103                 eSCI port A."
104         }
105
106         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_BUFSIZE {
107             display       "Buffer size for the sSCI port A driver"
108             flavor        data
109             legal_values  0 to 8192
110             default_value 128
111             description   "
112                 This option specifies the size of the internal buffers used 
113                 for the eSCI port A."
114         }
115     
116         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_INT_PRIORITY {
117             display      "eSCI port A INTC priority"
118             flavor       data
119             legal_values 0 to 15
120             default_value   7
121             description "
122                 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
123             "
124         }       
125     }
126
127     cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_B {
128         display       "eSCI port B driver"
129         flavor        bool
130         default_value 0
131         description   "
132             This option includes the serial device driver for the eSCI port B."
133
134         cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_B_NAME {
135             display       "Device name for eSCI port B"
136             flavor        data
137             default_value {"\"/dev/ser1\""}
138             description   "
139                 This option specifies the device name for the eSCI port B."
140         }
141
142         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_BAUD {
143             display       "Baud rate for the eSCI serial port A driver"
144             flavor        data
145             legal_values  { 300 600 1200 2400 4800 9600 14400 19200 38400 
146                             57600 115200 }
147             default_value 38400
148             description "
149                 This option specifies the default baud rate (speed) for the 
150                 eSCI port B."
151         }
152
153         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_BUFSIZE {
154             display       "Buffer size for the sSCI port A driver"
155             flavor        data
156             legal_values  0 to 8192
157             default_value 128
158             description   "
159                 This option specifies the size of the internal buffers used 
160                 for the eSCI port B."
161         }
162     
163         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_INT_PRIORITY {
164             display      "eSCI prot B INTC priority"
165             flavor       data
166             legal_values 0 to 15
167             default_value   7
168             description "
169                 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
170             "
171         }
172
173     }
174
175     cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_C {
176         display       "eSCI port C driver"
177         flavor        bool
178         default_value 0
179         description   "
180             This option includes the serial device driver for the eSCI port C."
181
182         cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_C_NAME {
183             display       "Device name for eSCI port C"
184             flavor        data
185             default_value {"\"/dev/ser2\""}
186             description   "
187                 This option specifies the device name for the eSCI port C."
188         }
189
190         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_BAUD {
191             display       "Baud rate for the eSCI serial port A driver"
192             flavor        data
193             legal_values  { 300 600 1200 2400 4800 9600 14400 19200 38400 
194                             57600 115200 }
195             default_value 38400
196             description "
197                 This option specifies the default baud rate (speed) for the 
198                 eSCI port C."
199         }
200
201         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_BUFSIZE {
202             display       "Buffer size for the sSCI port A driver"
203             flavor        data
204             legal_values  0 to 8192
205             default_value 128
206             description   "
207                 This option specifies the size of the internal buffers used 
208                 for the eSCI port C."
209         }
210     
211         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_INT_PRIORITY {
212             display      "eSCI prot B INTC priority"
213             flavor       data
214             legal_values 0 to 15
215             default_value   6
216             description "
217                 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
218             "
219         }
220
221     }
222
223     cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_D {
224         display       "eSCI port D driver"
225         flavor        bool
226         default_value 0
227         description   "
228             This option includes the serial device driver for the eSCI port D."
229
230         cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_D_NAME {
231             display       "Device name for eSCI port D"
232             flavor        data
233             default_value {"\"/dev/ser3\""}
234             description   "
235                 This option specifies the device name for the eSCI port D."
236         }
237
238         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_BAUD {
239             display       "Baud rate for the eSCI serial port A driver"
240             flavor        data
241             legal_values  { 300 600 1200 2400 4800 9600 14400 19200 38400 
242                             57600 115200 }
243             default_value 38400
244             description "
245                 This option specifies the default baud rate (speed) for the 
246                 eSCI port D."
247         }
248
249         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_BUFSIZE {
250             display       "Buffer size for the sSCI port A driver"
251             flavor        data
252             legal_values  0 to 8192
253             default_value 128
254             description   "
255                 This option specifies the size of the internal buffers used 
256                 for the eSCI port D."
257         }
258     
259         cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_INT_PRIORITY {
260             display      "eSCI prot B INTC priority"
261             flavor       data
262             legal_values 0 to 15
263             default_value   6
264             description "
265                 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
266             "
267         }
268     }
269
270
271     cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_OPTIONS {
272         display "Serial device driver build options"
273         flavor  none
274         description   "
275             Package specific build options including control over
276             compiler flags used only in building this package,
277             and details of which tests are built."
278
279
280         cdl_option CYGPKG_IO_SERIAL_FREESCALE_ESCI_CFLAGS_ADD {
281             display "Additional compiler flags"
282             flavor  data
283             no_define
284             default_value { "" }
285             description   "
286                 This option modifies the set of compiler flags for
287                 building these serial device drivers. These flags are
288                 used in addition to the set of global flags."
289         }
290
291         cdl_option CYGPKG_IO_SERIAL_FREESCALE_ESCI_CFLAGS_REMOVE {
292             display "Suppressed compiler flags"
293             flavor  data
294             no_define
295             default_value { "" }
296             description   "
297                 This option modifies the set of compiler flags for
298                 building these serial device drivers. These flags are
299                 removed from the set of global flags if present."
300         }
301     }
302 }
303
304 # EOF ser_freescale_esci.cdl