]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/devs/usb/imx/v2_0/cdl/usbs_imx.cdl
Initial revision
[karo-tx-redboot.git] / packages / devs / usb / imx / v2_0 / cdl / usbs_imx.cdl
1 # ====================================================================
2 #
3 #      usbs_mx37.cdl
4 #
5 #      MX37 USB OTG Device Mode support.
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 # This file is a part of Diagnosis Package based on eCos for Freescale i.MX 
11 # Family microprocessor.
12 ## Copyright (C) 2008 Freescale Semiconductor, Inc.
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 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38 ## at http://sources.redhat.com/ecos/ecos-license/
39 ## -------------------------------------------
40 #####ECOSGPLCOPYRIGHTEND####
41 # ====================================================================
42 ######DESCRIPTIONBEGIN####
43 #
44 # Author(s):      fisherz
45 # Original data:  fisherz
46 # Contributors:
47 # Date:           2008-10-16
48 # Comment:        Porting to MX51
49 #
50 #####DESCRIPTIONEND####
51 # ====================================================================
52 cdl_package CYGPKG_DEVS_USB_IMX_OTG {
53     display     "Freescale i.MX51 or i.MX37 USB OTG Device Driver"
54     include_dir "cyg/io/usb"
55     parent      CYGPKG_USB
56     implements  CYGHWR_IO_USB_SLAVE
57
58     # Make sure that we are running on the right hardware.
59     requires CYGPKG_HAL_ARM
60 #   requires CYGPKG_HAL_ARM_MX51
61 #   requires CYGPKG_HAL_ARM_MX51_3STACK
62         requires CYGPKG_IO_USB
63         requires CYGPKG_IO_USB_SLAVE
64         compile  usbs_imx.c
65     
66     description "
67         The on-chip USB OTG core on the MX51 or MX37 works as a USB
68         device controller, facilitating the use of this processor
69         in USB peripherals. This package provides a suitable eCos
70         device driver."
71
72     cdl_option CYGHWR_USB_DEVS_MX51_OTG {
73         display       "i.MX51 USB OTG"
74         flavor        bool
75         default_value 0
76         description "
77         i.MX51 is the default OTG device for this package"
78      }
79
80      cdl_option CYGHWR_USB_DEVS_MX37_OTG {
81         display       "i.MX37 USB OTG"
82         flavor        bool
83         default_value 0
84         description "
85         i.MX37 is not the default OTG device for this package"
86      }
87
88     cdl_option CYGHWR_MXC_USB_BUFFER_USE_IRAM {
89         display       "Determine where the USB buffer is"
90         flavor        bool
91         default_value 1
92         description "
93         USB buffer is defaultly in the internal RAM for better performance"
94      }
95
96     cdl_option CYGHWR_IMX_USB_DOWNLOAD_SUPPORT {
97         display       "USB Download for redboot is supported, i.MX OTG works in poll mode"
98         flavor        bool
99         default_value 0
100         description "
101         USB Download function is an add-value function for redboot, and USB OTG will work
102         under poll mode"
103      }
104
105 }
106     
107