1 |
786 |
skrzyp |
# ====================================================================
|
2 |
|
|
#
|
3 |
|
|
# flash_intel_28fxxx.cdl
|
4 |
|
|
#
|
5 |
|
|
# FLASH memory - Hardware support for Intel flash parts
|
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 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): jskov
|
43 |
|
|
# Contributors: jskov, gthomas
|
44 |
|
|
# Date: 2001-03-21
|
45 |
|
|
#
|
46 |
|
|
#####DESCRIPTIONEND####
|
47 |
|
|
#
|
48 |
|
|
# ====================================================================
|
49 |
|
|
|
50 |
|
|
cdl_package CYGPKG_DEVS_FLASH_INTEL_28FXXX {
|
51 |
|
|
display "Intel FlashFile FLASH memory support"
|
52 |
|
|
description "FLASH memory device support for Intel FlashFile"
|
53 |
|
|
parent CYGPKG_IO_FLASH
|
54 |
|
|
active_if CYGPKG_IO_FLASH
|
55 |
|
|
|
56 |
|
|
active_if CYGINT_DEVS_FLASH_INTEL_28FXXX_REQUIRED
|
57 |
|
|
|
58 |
|
|
implements CYGHWR_IO_FLASH_DEVICE
|
59 |
|
|
implements CYGHWR_IO_FLASH_DEVICE_LEGACY
|
60 |
|
|
|
61 |
|
|
include_dir cyg/io
|
62 |
|
|
|
63 |
|
|
requires { CYGINT_DEVS_FLASH_INTEL_VARIANTS != 0 }
|
64 |
|
|
|
65 |
|
|
cdl_option CYGNUM_DEVS_FLASH_INTEL_28FXXX_TIMEOUT {
|
66 |
|
|
display "Timeout for flash operations (simple counter based)"
|
67 |
|
|
flavor data
|
68 |
|
|
legal_values 1000000 to 1000000000
|
69 |
|
|
default_value 50000000
|
70 |
|
|
description "
|
71 |
|
|
Timeout for flash operations. This is just a simple
|
72 |
|
|
counter. It depends on the speed of the flash, the processor, etc.
|
73 |
|
|
It has to be adjusted for each hardware configuration. "
|
74 |
|
|
}
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
cdl_interface CYGINT_DEVS_FLASH_INTEL_VARIANTS {
|
78 |
|
|
display "Number of included variants"
|
79 |
|
|
}
|
80 |
|
|
|
81 |
|
|
cdl_interface CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES {
|
82 |
|
|
flavor booldata
|
83 |
|
|
display "Must support buffered writes"
|
84 |
|
|
}
|
85 |
|
|
|
86 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160S5 {
|
87 |
|
|
display "Intel 28F160S5 flash memory support"
|
88 |
|
|
default_value 0
|
89 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
90 |
|
|
implements CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES
|
91 |
|
|
description "
|
92 |
|
|
When this option is enabled, the Intel flash driver will be
|
93 |
|
|
able to recognize and handle the 28F160S5
|
94 |
|
|
part in the family."
|
95 |
|
|
}
|
96 |
|
|
|
97 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160B3T {
|
98 |
|
|
display "Intel 28F160B3T flash memory support"
|
99 |
|
|
default_value 0
|
100 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
101 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
102 |
|
|
description "
|
103 |
|
|
When this option is enabled, the Intel flash driver will be
|
104 |
|
|
able to recognize and handle the 28F160B3T
|
105 |
|
|
part in the family."
|
106 |
|
|
}
|
107 |
|
|
|
108 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F160C3B {
|
109 |
|
|
display "Intel 28F160C3B flash memory support"
|
110 |
|
|
default_value 0
|
111 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
112 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
113 |
|
|
description "
|
114 |
|
|
When this option is enabled, the Intel flash driver will be
|
115 |
|
|
able to recognize and handle the 28F160C3B
|
116 |
|
|
part in the family."
|
117 |
|
|
}
|
118 |
|
|
|
119 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320B3 {
|
120 |
|
|
display "Intel 28F320B3 flash memory support"
|
121 |
|
|
default_value 0
|
122 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
123 |
|
|
description "
|
124 |
|
|
When this option is enabled, the Intel flash driver will be
|
125 |
|
|
able to recognize and handle the 28F320B3
|
126 |
|
|
part in the family."
|
127 |
|
|
}
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320C3 {
|
131 |
|
|
display "Intel 28F320C3 flash memory support"
|
132 |
|
|
default_value 0
|
133 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
134 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
135 |
|
|
description "
|
136 |
|
|
When this option is enabled, the Intel flash driver will be
|
137 |
|
|
able to recognize and handle the 28F320C3
|
138 |
|
|
part in the family."
|
139 |
|
|
}
|
140 |
|
|
|
141 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320S3 {
|
142 |
|
|
display "Intel 28F320S3 flash memory support"
|
143 |
|
|
default_value 0
|
144 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
145 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
146 |
|
|
description "
|
147 |
|
|
When this option is enabled, the Intel flash driver will be
|
148 |
|
|
able to recognize and handle the 28F320S3
|
149 |
|
|
part in the family."
|
150 |
|
|
}
|
151 |
|
|
|
152 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128K3 {
|
153 |
|
|
display "Intel 28F128K3 flash memory support"
|
154 |
|
|
default_value 0
|
155 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
156 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
157 |
|
|
description "
|
158 |
|
|
When this option is enabled, the Intel flash driver will be
|
159 |
|
|
able to recognize and handle the 28F128K3
|
160 |
|
|
part in the family."
|
161 |
|
|
}
|
162 |
|
|
|
163 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128P30 {
|
164 |
|
|
display "Intel 28F128P30 flash memory support"
|
165 |
|
|
default_value 0
|
166 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
167 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
168 |
|
|
implements CYGHWR_DEVS_FLASH_INTEL_BUFFERED_WRITES
|
169 |
|
|
description "
|
170 |
|
|
When this option is enabled, the Intel flash driver will be
|
171 |
|
|
able to recognize and handle the 28F128P30
|
172 |
|
|
part in the family."
|
173 |
|
|
}
|
174 |
|
|
|
175 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F128J3 {
|
176 |
|
|
display "Intel 28F128J3 flash memory support"
|
177 |
|
|
default_value 0
|
178 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
179 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
180 |
|
|
description "
|
181 |
|
|
When this option is enabled, the Intel flash driver will be
|
182 |
|
|
able to recognize and handle the 28F128J3
|
183 |
|
|
part in the family."
|
184 |
|
|
}
|
185 |
|
|
|
186 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320J3 {
|
187 |
|
|
display "Intel 28F320J3 flash memory support"
|
188 |
|
|
default_value 0
|
189 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
190 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
191 |
|
|
description "
|
192 |
|
|
When this option is enabled, the Intel flash driver will be
|
193 |
|
|
able to recognize and handle the 28F320J3
|
194 |
|
|
part in the family."
|
195 |
|
|
}
|
196 |
|
|
|
197 |
|
|
cdl_option CYGHWR_DEVS_FLASH_INTEL_28F800B5 {
|
198 |
|
|
display "Intel 28F800B5 flash memory support"
|
199 |
|
|
default_value 0
|
200 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
201 |
|
|
description "
|
202 |
|
|
When this option is enabled, the Intel flash driver will be
|
203 |
|
|
able to recognize and handle the 28F800B5
|
204 |
|
|
part in the family."
|
205 |
|
|
}
|
206 |
|
|
|
207 |
|
|
cdl_option CYGHWR_DEVS_FLASH_SHARP_LH28F016SCT_Z4 {
|
208 |
|
|
display "Sharp LH28F016SCT-Z4 flash memory support"
|
209 |
|
|
default_value 0
|
210 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
211 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
212 |
|
|
description "
|
213 |
|
|
When this option is enabled, the Intel flash driver will be
|
214 |
|
|
able to recognize and handle the Sharp LH28F016SCT-Z4
|
215 |
|
|
part. Although this part is not an Intel part, the driver
|
216 |
|
|
is implemented using the same command status definitions."
|
217 |
|
|
|
218 |
|
|
}
|
219 |
|
|
|
220 |
|
|
cdl_option CYGHWR_DEVS_FLASH_SHARP_LH28F016SCT_95 {
|
221 |
|
|
display "Sharp LH28F016SCT-95 flash memory support"
|
222 |
|
|
default_value 0
|
223 |
|
|
implements CYGHWR_IO_FLASH_BLOCK_LOCKING
|
224 |
|
|
implements CYGINT_DEVS_FLASH_INTEL_VARIANTS
|
225 |
|
|
description "
|
226 |
|
|
When this option is enabled, the Intel flash driver will be
|
227 |
|
|
able to recognize and handle the Sharp LH28F016SCT-95
|
228 |
|
|
part. Although this part is not an Intel part, the driver
|
229 |
|
|
is implemented using the same command status definitions."
|
230 |
|
|
|
231 |
|
|
}
|
232 |
|
|
}
|