1 |
786 |
skrzyp |
2009-04-20 Rene Schipp von Branitz Nielsen
|
2 |
|
|
|
3 |
|
|
* src/am29xxxxx.c: Added set of parentheses around macro
|
4 |
|
|
parameters used in multiplications. Fixes 16as8 bug.
|
5 |
|
|
|
6 |
|
|
2008-12-19 Jonathan Larmour
|
7 |
|
|
|
8 |
|
|
* cdl/flash_am29xxxxx_v2.cdl: Doh, fix doc link properly.
|
9 |
|
|
|
10 |
|
|
2008-11-20 Jonathan Larmour
|
11 |
|
|
|
12 |
|
|
* cdl/flash_am29xxxxx_v2.cdl: Fix doc link.
|
13 |
|
|
|
14 |
|
|
2008-09-24 Bart Veer
|
15 |
|
|
|
16 |
|
|
* src/am29xxxxx_aux.c (am29_hw_program): fix handling of parallel
|
17 |
|
|
chips. Get the debug diagnostics to build cleanly.
|
18 |
|
|
|
19 |
|
|
2008-05-13 Jonathan Larmour
|
20 |
|
|
|
21 |
|
|
* src/am29xxxxx_aux.c (am29_hw_query): Allow devices to return
|
22 |
|
|
device IDs of larger than a byte.
|
23 |
|
|
|
24 |
|
|
2007-07-08 Bart Veer
|
25 |
|
|
|
26 |
|
|
* src/am29xxxxx.c, src/am29xxxxx_aux.c: add 2ram entry and exit
|
27 |
|
|
hooks to give HALs some extra control over the low-level flash
|
28 |
|
|
operations.
|
29 |
|
|
|
30 |
|
|
2007-06-21 Bart Veer
|
31 |
|
|
|
32 |
|
|
* src/am29xxxxx_aux.c: issue a memory barrier after every command
|
33 |
|
|
that gets sent to the flash, to avoid problems with pipelines that
|
34 |
|
|
mess about with write ordering.
|
35 |
|
|
|
36 |
|
|
2007-05-31 Bart Veer
|
37 |
|
|
|
38 |
|
|
* src/am29xxxxx.c: skip data cache manipulation on architectures
|
39 |
|
|
which do not have a data cache.
|
40 |
|
|
|
41 |
|
|
2007-05-29 Jonathan Larmour
|
42 |
|
|
|
43 |
|
|
* cdl/flash_am29xxxxx_v2.cdl
|
44 |
|
|
(CYGHWR_DEVS_FLASH_AMD_AM29XXXXX_V2_RESET_NEEDS_RESUME): New option.
|
45 |
|
|
Allow Flash devices to indicate that they should be sent a "resume"
|
46 |
|
|
command on startup.
|
47 |
|
|
* src/am29xxxxx_aux.c (am29_hw_force_all_suspended_resume): New
|
48 |
|
|
function to implement above CDL.
|
49 |
|
|
(cyg_am29xxxxx_init_check_dev): Call the new function.
|
50 |
|
|
(cyg_am29xxxxx_init_cfi): Ditto.
|
51 |
|
|
(am29_hw_cfi): manufacturer_id and vendor private areas need only
|
52 |
|
|
lowest byte taken, to handle multiple parallel devices.
|
53 |
|
|
|
54 |
|
|
2007-03-29 Bart Veer
|
55 |
|
|
|
56 |
|
|
* src/am29xxxxx_aux.c (am29_hw_erase): use DQ7 to detect
|
57 |
|
|
termination instead of DQ6. This avoids hardware problems where
|
58 |
|
|
the toggling of DQ6 is not detected.
|
59 |
|
|
|
60 |
|
|
2007-03-05 Nick Garnett
|
61 |
|
|
|
62 |
|
|
* src/am29xxxxx_aux.c (am29_hw_cfi): Added missing AM29_SWAP() to
|
63 |
|
|
fetch of offset of vendor specific data.
|
64 |
|
|
|
65 |
|
|
2006-09-27 Nick Garnett
|
66 |
|
|
|
67 |
|
|
* src/am29xxxxx_aux.c (am29_hw_cfi): Added generic code to deal
|
68 |
|
|
with flash parts that may specify their erase regions in reverse
|
69 |
|
|
order to reality. Removed older code that was too specific to
|
70 |
|
|
particular devices.
|
71 |
|
|
A few changes to the diagnostics in various places.
|
72 |
|
|
|
73 |
|
|
* cdl/flash_am29xxxxx_v2.cdl: Replaced
|
74 |
|
|
CYGHWR_DEVS_FLASH_AMD_AM29XXXXX_V2_AT49_CFI with
|
75 |
|
|
CYGHWR_DEVS_FLASH_AMD_AM29XXXXX_V2_CFI_BOGOSITY. This option
|
76 |
|
|
performs much the same purpose, but is generic to many more flash
|
77 |
|
|
parts.
|
78 |
|
|
|
79 |
|
|
2006-08-31 Nick Garnett
|
80 |
|
|
|
81 |
|
|
* src/am29xxxxx_aux.c: Added support for ST flash parts which have
|
82 |
|
|
similar, but not identical, peculiarities in their CFI data to the
|
83 |
|
|
Atmel parts supported earlier.
|
84 |
|
|
|
85 |
|
|
2006-08-24 Jonathan Larmour
|
86 |
|
|
|
87 |
|
|
* src/am29xxxxx.c: Provide a default HAL_MEMORY_BARRIER()
|
88 |
|
|
define if the HAL hasn't provided one.
|
89 |
|
|
* src/am29xxxxx_aux.c: Use HAL_MEMORY_BARRIER() any time the
|
90 |
|
|
flash is reset back to read array mode. Some processors
|
91 |
|
|
need to have their write buffers flushed.
|
92 |
|
|
|
93 |
|
|
2006-06-29 Nick Garnett
|
94 |
|
|
|
95 |
|
|
* cdl/flash_am29xxxxx_v2.cdl:
|
96 |
|
|
* src/am29xxxxx_aux.c:
|
97 |
|
|
Added configurable delay between each word during
|
98 |
|
|
programming. Some targets seem to need this.
|
99 |
|
|
Also added some simple diagnostics.
|
100 |
|
|
|
101 |
|
|
2006-05-15 John Dallaway
|
102 |
|
|
|
103 |
|
|
* doc/am29xxxxx.sgml: Fix missing tag.
|
104 |
|
|
* cdl/flash_am29xxxx_v2.cdl: Reference package documentation.
|
105 |
|
|
|
106 |
|
|
2005-09-26 Bart Veer
|
107 |
|
|
|
108 |
|
|
* src/am29xxxxx.c, src/am29xxxxx_aux.c: add AM29_SWAP() support for
|
109 |
|
|
platforms where the bus connection is wired up strangely.
|
110 |
|
|
|
111 |
|
|
* src/am29xxxxx_aux.c, cdl/flash_am29xxxxx_v2.cdl: add optional
|
112 |
|
|
support for certain Atmel chips which have a peculiar
|
113 |
|
|
implementation of CFI.
|
114 |
|
|
|
115 |
|
|
2005-08-17 Jonathan Larmour
|
116 |
|
|
|
117 |
|
|
* cdl/flash_am29xxxx_v2.cdl: Provide new
|
118 |
|
|
CYGIMP_DEVS_FLASH_AMD_AM29XXXXX_V2_LEAVE_INTERRUPTS_ENABLED
|
119 |
|
|
and CYGHWR_DEVS_FLASH_AMD_AM29XXXXX_V2_CACHED_ONLY options
|
120 |
|
|
to provide better control of when to enable/disable interrupts
|
121 |
|
|
or caches. Taken from the Strata flash example.
|
122 |
|
|
* include/am29xxxxx_dev.h: Declare cyg_at49xxxx_softlock, _hardlock
|
123 |
|
|
and _unlock variants.
|
124 |
|
|
* src/am29xxxxx.c: Define AT49 locking commands.
|
125 |
|
|
Provide AM29_UNCACHE_ADDRESS in line with the Strata driver,
|
126 |
|
|
to be controlled by the above new CDL options, in place of
|
127 |
|
|
AM29_P2V.
|
128 |
|
|
* src/am29xxxxx_aux.c: Provide AT49 lock status definition.
|
129 |
|
|
Provide AT49 softlock/hardlock/unlock API functions and
|
130 |
|
|
underlying implementation functions.
|
131 |
|
|
Adopt AM29_UNCACHED_ADDRESS rename.
|
132 |
|
|
* doc/am29xxxxx.sgml: Update documentation to cover AT49xxxx
|
133 |
|
|
locking operations and above new CDL options.
|
134 |
|
|
|
135 |
|
|
2005-06-12 Bart Veer
|
136 |
|
|
|
137 |
|
|
* src/am29xxxxx_aux.c (cyg_am29xxxxx_program): remove unnecessary
|
138 |
|
|
loops variable
|
139 |
|
|
* cdl/flash_am29xxxxx_v2.cdl: minor reorganization to put the
|
140 |
|
|
important config option first
|
141 |
|
|
* doc/am29xxxxx.sgml: document the important config options
|
142 |
|
|
|
143 |
|
|
2005-02-23 Bart Veer
|
144 |
|
|
|
145 |
|
|
* doc/am29xxxxx.sgml: bring up to date.
|
146 |
|
|
|
147 |
|
|
2005-01-19 Jonathan Larmour
|
148 |
|
|
|
149 |
|
|
* src/am29xxxxx_aux.c (am29_hw_erase): Handle interleaved
|
150 |
|
|
(parallel) flash correctly when one device finishes before another.
|
151 |
|
|
(am29_hw_program): Similar.
|
152 |
|
|
(cyg_am29xxxxx_program): Use assert correctly.
|
153 |
|
|
|
154 |
|
|
* src/am29xxxxx.c (AM29_NEXT_DATUM_32): Use cyg_uint32, not
|
155 |
|
|
cyg_uint16.
|
156 |
|
|
|
157 |
|
|
2004-12-02 Bart Veer
|
158 |
|
|
|
159 |
|
|
* src/am29xxxxx.c, include/am29xxxxx_dev.h:
|
160 |
|
|
no longer exists, use instead.
|
161 |
|
|
|
162 |
|
|
2004-11-29 Bart Veer
|
163 |
|
|
|
164 |
|
|
* include/am29xxxxx_dev.h, src/am29xxxxx.c: eliminate
|
165 |
|
|
hwr_map_error() support, no longer needed
|
166 |
|
|
|
167 |
|
|
* include/am29xxxxx_dev.h, src/am29xxxxx.c, src/am29xxxxx_aux.c:
|
168 |
|
|
The dummy init/query/lock/unlock functions have been moved to the
|
169 |
|
|
generic flash package. That also now exports an anonymizer
|
170 |
|
|
function.
|
171 |
|
|
|
172 |
|
|
2004-11-25 Bart Veer
|
173 |
|
|
|
174 |
|
|
* cdl/flash_am29xxxxx_v2.cdl, src/am29xxxxx.c,
|
175 |
|
|
src/am29xxxxx_aux.c: this driver can manage the flash and
|
176 |
|
|
interrupts itself, without support from the generic flash code.
|
177 |
|
|
|
178 |
|
|
2004-11-22 Bart Veer
|
179 |
|
|
|
180 |
|
|
* include/am29xxxxx_dev.h, src/am29xxxxx.c, src/am29xxxxx_aux.c,
|
181 |
|
|
doc/am29xxxxx.sgml: implement changes to the interface between the
|
182 |
|
|
generic flash code and the device drivers.
|
183 |
|
|
* include/am29xxxxx_dev.h: rename cyg_block_info to
|
184 |
|
|
cyg_flash_block_info
|
185 |
|
|
|
186 |
|
|
2004-11-21 Bart Veer
|
187 |
|
|
|
188 |
|
|
* doc/am29xxxxx.sgml: describe CDL implications for custom locking
|
189 |
|
|
functions and additional devices.
|
190 |
|
|
|
191 |
|
|
* cdl/flash_am29xxxxx_v2.cdl: CYGHWR_IO_FLASH_DEVICE_V2 is now
|
192 |
|
|
implicit
|
193 |
|
|
|
194 |
|
|
2004-11-05 Bart Veer
|
195 |
|
|
|
196 |
|
|
* New AM29xxxxx flash driver created
|
197 |
|
|
|
198 |
|
|
//===========================================================================
|
199 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
200 |
|
|
// -------------------------------------------
|
201 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
202 |
|
|
// Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
203 |
|
|
//
|
204 |
|
|
// This program is free software; you can redistribute it and/or modify
|
205 |
|
|
// it under the terms of the GNU General Public License as published by
|
206 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
207 |
|
|
// later version.
|
208 |
|
|
//
|
209 |
|
|
// This program is distributed in the hope that it will be useful, but
|
210 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
211 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
212 |
|
|
// General Public License for more details.
|
213 |
|
|
//
|
214 |
|
|
// You should have received a copy of the GNU General Public License
|
215 |
|
|
// along with this program; if not, write to the
|
216 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
217 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
218 |
|
|
// -------------------------------------------
|
219 |
|
|
// ####GPLCOPYRIGHTEND####
|
220 |
|
|
//===========================================================================
|