1 # ====================================================================
3 # flash_intel_28fxxx.cdl
5 # FLASH memory - Hardware support for Intel flash parts
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) 2002 Gary Thomas
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.
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
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.
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.
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.
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####
45 # Contributors: jskov, gthomas
48 #####DESCRIPTIONEND####
50 # ====================================================================
52 cdl_package CYGPKG_DEVS_FLASH_INTEL_28FXXX {
53 display "Intel FlashFile FLASH memory support"
54 description "FLASH memory device support for Intel FlashFile"
55 parent CYGPKG_IO_FLASH
56 active_if CYGPKG_IO_FLASH
58 active_if CYGINT_DEVS_FLASH_INTEL_28FXXX_REQUIRED
60 implements CYGHWR_IO_FLASH_DEVICE
64 requires { CYGINT_DEVS_FLASH_INTEL_VARIANTS != 0 }
66 cdl_option CYGNUM_DEVS_FLASH_INTEL_28FXXX_TIMEOUT {
67 display "Timeout for flash operations (simple counter based)"
69 legal_values 1000000 to 1000000000
70 default_value 50000000
72 Timeout for flash operations. This is just a simple
73 counter. It depends on the speed of the flash, the processor, etc.
74 It has to be adjusted for each hardware configuration. "
78 cdl_interface CYGINT_DEVS_FLASH_INTEL_VARIANTS {
79 display "Number of included variants"
82 cdl_interface CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES {
84 display "Must support buffered writes"
87 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160S5 {
88 display "Intel 28F160S5 flash memory support"
90 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
91 implements CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES
93 When this option is enabled, the Intel flash driver will be
94 able to recognize and handle the 28F160S5
98 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160B3T {
99 display "Intel 28F160B3T flash memory support"
101 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
102 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
104 When this option is enabled, the Intel flash driver will be
105 able to recognize and handle the 28F160B3T
109 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160C3B {
110 display "Intel 28F160C3B flash memory support"
112 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
113 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
115 When this option is enabled, the Intel flash driver will be
116 able to recognize and handle the 28F160C3B
120 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320B3 {
121 display "Intel 28F320B3 flash memory support"
123 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
125 When this option is enabled, the Intel flash driver will be
126 able to recognize and handle the 28F320B3
131 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320C3 {
132 display "Intel 28F320C3 flash memory support"
134 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
135 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
137 When this option is enabled, the Intel flash driver will be
138 able to recognize and handle the 28F320C3
142 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320S3 {
143 display "Intel 28F320S3 flash memory support"
145 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
146 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
148 When this option is enabled, the Intel flash driver will be
149 able to recognize and handle the 28F320S3
153 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128K3 {
154 display "Intel 28F128K3 flash memory support"
156 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
157 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
159 When this option is enabled, the Intel flash driver will be
160 able to recognize and handle the 28F128K3
164 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128P30 {
165 display "Intel 28F128P30 flash memory support"
167 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
168 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
169 implements CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES
171 When this option is enabled, the Intel flash driver will be
172 able to recognize and handle the 28F128P30
176 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128J3 {
177 display "Intel 28F128J3 flash memory support"
179 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
180 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
182 When this option is enabled, the Intel flash driver will be
183 able to recognize and handle the 28F128J3
187 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320J3 {
188 display "Intel 28F320J3 flash memory support"
190 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
191 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
193 When this option is enabled, the Intel flash driver will be
194 able to recognize and handle the 28F320J3
198 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F800B5 {
199 display "Intel 28F800B5 flash memory support"
201 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
203 When this option is enabled, the Intel flash driver will be
204 able to recognize and handle the 28F800B5
208 cdl_option CYGHWR_DEVS_FLASH_SHARP_LH28F016SCT_Z4 {
209 display "Sharp LH28F016SCT-Z4 flash memory support"
211 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
212 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
214 When this option is enabled, the Intel flash driver will be
215 able to recognize and handle the Sharp LH28F016SCT-Z4
216 part. Although this part is not an Intel part, the driver
217 is implemented using the same command status definitions."
221 cdl_option CYGHWR_DEVS_FLASH_SHARP_LH28F016SCT_95 {
222 display "Sharp LH28F016SCT-95 flash memory support"
224 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
225 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
227 When this option is enabled, the Intel flash driver will be
228 able to recognize and handle the Sharp LH28F016SCT-95
229 part. Although this part is not an Intel part, the driver
230 is implemented using the same command status definitions."
234 cdl_option CYGHWR_DEVS_FLASH_INTEL_28F256L18 {
235 display "Intel 28F256L18 flash memory support"
237 implements CYGHWR_IO_FLASH_BLOCK_LOCKING
238 implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
240 When this option is enabled, the Intel flash driver will be
241 able to recognize and handle the 28F256L18