Mercurial > ecos-v3_0-branch
annotate packages/devs/disk/generic/mmc/current/cdl/devs_disk_mmc.cdl @ 2729:74dbf4c3f2e1 after-copyright-change-20090129
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
| author | jlarmour |
|---|---|
| date | Thu, 29 Jan 2009 17:47:46 +0000 |
| parents | 41a4df71f380 |
| children |
| rev | line source |
|---|---|
| 2301 | 1 # ==================================================================== |
| 2 # | |
| 3 # devs_disk_mmc.cdl | |
| 4 # | |
| 5 # Support for MMC cards | |
| 6 # | |
| 7 # ==================================================================== | |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
8 ## ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
9 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
10 ## This file is part of eCos, the Embedded Configurable Operating System. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
11 ## Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. |
| 2301 | 12 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
13 ## eCos is free software; you can redistribute it and/or modify it under |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
14 ## the terms of the GNU General Public License as published by the Free |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
15 ## Software Foundation; either version 2 or (at your option) any later |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
16 ## version. |
| 2301 | 17 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
21 ## for more details. |
| 2301 | 22 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
23 ## You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
24 ## along with eCos; if not, write to the Free Software Foundation, Inc., |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 2301 | 26 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
27 ## As a special exception, if other files instantiate templates or use |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
28 ## macros or inline functions from this file, or you compile this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
29 ## and link it with other works to produce a work based on this file, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
30 ## this file does not by itself cause the resulting work to be covered by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
31 ## the GNU General Public License. However the source code for this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
32 ## must still be made available in accordance with section (3) of the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
33 ## General Public License v2. |
| 2301 | 34 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
35 ## This exception does not invalidate any other reasons why a work based |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
36 ## on this file might be covered by the GNU General Public License. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
37 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2534
diff
changeset
|
38 ## ####ECOSGPLCOPYRIGHTEND#### |
| 2301 | 39 # ==================================================================== |
| 40 ######DESCRIPTIONBEGIN#### | |
| 41 # | |
| 42 # Author(s): bartv,jlarmour | |
| 43 # Date: 2004-04-25 | |
| 44 # | |
| 45 #####DESCRIPTIONEND#### | |
| 46 # ==================================================================== | |
| 47 | |
| 48 cdl_package CYGPKG_DEVS_DISK_MMC { | |
| 49 display "Disk driver for MMC cards" | |
| 50 doc ecos-ref/devs-disk-mmc-part.html | |
| 51 | |
| 52 include_dir cyg/io | |
| 53 | |
| 54 parent CYGPKG_IO_DISK_DEVICES | |
| 55 active_if CYGPKG_IO_DISK | |
| 56 | |
| 57 cdl_interface CYGINT_DEVS_DISK_MMC_SPI_CONNECTORS { | |
| 58 active_if CYGPKG_IO_SPI | |
| 59 display "Number of MMC connectors accessed via SPI" | |
| 60 } | |
| 61 | |
| 62 cdl_component CYGPKG_DEVS_DISK_MMC_SPI { | |
| 63 display "Access an MMC card via an SPI bus" | |
| 64 default_value { CYGINT_DEVS_DISK_MMC_SPI_CONNECTORS > 0 } | |
| 65 compile -library=libextras.a mmc_spi.c | |
| 66 requires CYGPKG_ERROR CYGPKG_LIBC_STRING | |
| 67 description " | |
| 68 This option enables support for accessing an MMC card via an | |
| 69 SPI bus." | |
| 70 | |
| 71 define_proc { | |
| 72 puts $::cdl_system_header "/***** MMC/SPI disk driver output start *****/" | |
| 73 puts $::cdl_system_header "#ifndef CYGDAT_DEVS_DISK_CFG" | |
| 74 puts $::cdl_system_header "#define CYGDAT_DEVS_DISK_CFG <pkgconf/devs_disk_mmc.h>" | |
| 75 puts $::cdl_system_header "#endif" | |
| 76 puts $::cdl_system_header "/***** MMC/SPI disk driver output end *****/" | |
| 77 } | |
| 78 | |
| 79 cdl_option CYGDAT_DEVS_DISK_MMC_SPI_DISK0_NAME { | |
| 80 display "Device name for the MMC/SPI disk 0 device" | |
| 81 flavor data | |
|
2534
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
82 default_value { "\"/dev/mmcdisk0/\"" } |
| 2301 | 83 description " |
| 84 This is the device name used to access the raw disk device | |
| 85 in eCos, for example for mount operations. Note that the | |
| 86 trailing slash must be present." | |
| 87 } | |
| 88 } | |
| 89 | |
| 90 cdl_option CYGIMP_DEVS_DISK_MMC_SPI_POLLED { | |
| 91 display "Run the driver in polled mode rather than interrupt-driven" | |
| 92 default_value !CYGPKG_KERNEL | |
| 93 description " | |
|
2534
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
94 By default the MMC disk driver will operate in |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
95 interrupt-driven mode if the kernel is present, |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
96 i.e. if the application is likely to be |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
97 multi-threaded. Otherwise it will operate in polled |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
98 mode." |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
99 |
| 2301 | 100 } |
|
2534
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
101 cdl_option CYGPKG_DEVS_DISK_MMC_SPI_IDLE_RETRIES_WAIT { |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
102 display "Idle to operational retry wait" |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
103 flavor booldata |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
104 default_value 10000 |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
105 description " |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
106 |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
107 This option sets how long to wait between retries of |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
108 attempts to change the card state from idle to |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
109 operational. It is measured in microseconds." |
|
41a4df71f380
* cdl/devs_disk_mmc.cdl: Renamed the device to /dev/mmcdiskX so
asl
parents:
2390
diff
changeset
|
110 } |
| 2301 | 111 } |
| 112 | |
| 113 # EOF devs_disk_mmc.cdl |
