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