OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [serial/] [freescale/] [esci/] [drv/] [current/] [cdl/] [ser_freescale_esci.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.