source: SVN/cambria/redboot/packages/io/flash/current/ChangeLog @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 11.6 KB
Line 
12007-01-31  Mark Salter  <msalter@sadr.localdomain>
2
3        * include/flash.h (FLASH_ERR_BLOCK_LOCKED): Define.
4        * src/flash.c (flash_errmsg): Add message for BLOCK_LOCKED.
5
62004-09-05  Mark Salter  <msalter@redhat.com>
7
8        * doc/flash.sgml: Fix unbalanced <PARA>s.
9
102004-08-24  Gary Thomas  <gary@mlbassoc.com>
11
12        * cdl/io_flash.cdl:
13        * tests/flash1.c: Add simple test of FLASH driver.
14
152004-06-20  Andrew Lunn  <andrew.lunn@ascom.ch>
16
17        * src/flash.c (flash_read): Don't check if the flash is write
18          protected before performing a read.
19        * doc/flash.sgml
20        * cdl/io_flash.cdl: Added documentation of the FLASH API
21
222004-04-29  Sebastien Couret  <sebastien.couret@elios-informatique.com>
232004-04-29  Jonathan Larmour  <jifl@eCosCentric.com>
24
25        * src/flashiodev.c: When checking flash upper bound, allow for end
26        of flash at 0xffffffff.
27
282003-11-27  David Woodhouse  <dwmw2@infradead.org>
29
30        * src/flashiodev.c: Enable set_config() and implement
31        CYG_IO_SET_CONFIG_FLASH_FIS_NAME.
32       
332003-11-25  Andrew Lunn  <andrew.lunn@ascom.ch>
34
35        * src/flash.c: gcc 3.x vs gcc 2.x problems.
36
372003-11-24  Jani Monoses  <jani@iv.ro>
38
39        * cdl/io_flash.cdl:
40        * include/flash.h: Remove CYGNUM_FLASH_WORKSPACE_SIZE cdl option.
41 
422003-11-24  Roland Caßebohm <roland.cassebohm@visionsystems.de>
43
44        * src/flashiodev.c (flashiodev_bwrite): Use flash_read rather than
45        directly doing a memcpy.
46
472003-11-20  Jani Monoses  <jani@iv.ro>
48
49        * src/flash.c:
50        * src/flashiodev.c:
51        * include/flash.h: Remove references to work_space and work_space_size
52        since they are no longer used.
53
542003-11-20  Jani Monoses  <jani@iv.ro>
55
56        * cdl/io_flash.cdl:
57        * src/flash.c: Remove handling of CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
58        now that all flash drivers use ELF sections to specify which parts
59        go in RAM.
60
612003-10-08  Roland Cassebohm  <roland.cassebohm@visionsystems.de>
62
63        * src/flash.c: Fix parse error if CYGSEM_IO_FLASH_READ_INDIRECT
64        is not defined.
65
662003-09-19  Gary Thomas  <gary@mlbassoc.com>
67
68        * src/flash.c:
69        * include/flash.h:
70        * cdl/io_flash.cdl: Add support for NAND (indirectly accessed)
71        devices.  This includes a generic "flash_read_buf()" function.
72
732003-04-14  Jani Monoses  <jani@iv.ro>
74
75        * include/flash_dev.h: Include <cyg/infra/cyg_type.h>
76
772003-03-19  Thomas Koeller <thomas.koeller@baslerweb.com>
78
79        * src/flashiodev.c: Fixed trivial error.
80
812003-03-03  Knud Woehler <knud.woehler@microplex.de>
82
83        * src/flashiodev.c:
84        * cdl/io_flash.cdl: Add CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 /
85        CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1. Initialize the block device
86        from the FIS table.
87       
882003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
89
90        * cdl/io_flash.cdl: Remove irrelevant doc link - default to top
91        level.
92
932002-01-31  Jonathan Larmour  <jlarmour@redhat.com>
94
95        * src/flashiodev.c: Fix bounds checking and offsetting.
96
97        * cdl/io_flash.cdl (CYGNUM_IO_FLASH_BLOCK_LENGTH_1): Default to
98        0x100000 for convenience.
99
1002002-01-30  Jonathan Larmour  <jlarmour@redhat.com>
101
102        * cdl/io_flash.cdl: Allow specification of an offset and length
103        of the region of flash.
104        * src/flashiodev.c: Use it.
105
1062002-01-24  Jesper Skov  <jskov@redhat.com>
107
108        * include/flash.h: Add a comment about the obvious: the flash
109        caching macros should be called with interrupts disabled.
110
1112002-01-23  Jonathan Larmour  <jlarmour@redhat.com>
112
113        * cdl/io_flash.cdl: Add CYGPKG_IO_FLASH_BLOCK_DEVICE and
114        CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 to allow exporting flash
115        as block devices accessible from file systems.
116        * src/fileiodev.c: New file implementing this.
117        * include/flash.h: Add typedefs for the various structures used
118        to configure the block devices.
119
1202002-01-18  Paul Fine  <pfine@delcomsys.com>
121
122        * src/flash.c : Modified flash_verify_addr, flash_erase,
123        flash_lock and flash_unlock to to work properly when the location
124        of the flash in the memory map is at the very top of the address
125        space.  We check and handle values that may overflow.
126
1272001-10-28  Gary Thomas  <gthomas@redhat.com>
128
129        * src/flash.c (flash_erase): Don't call hardware layer if block
130        appears to be already erased [faster and less wear & tear].
131
1322001-10-25  Jonathan Larmour  <jlarmour@redhat.com>
133
134        * include/flash_dev.h: Fix test of 4x16-bit flash parts.
135        Spotted by Jose Pascual <josepascual@almudi.com>
136
1372001-10-16  Jesper Skov  <jskov@redhat.com>
138
139        * src/flash.c: Include string.h
140
141        * cdl/io_flash.cdl: Package requires ISOINFRA and string
142        functions.
143
1442001-10-15  David Howells  <dhowells@redhat.com>
145
146        * src/flash.c: Include string.h to get mem*() functions.
147
1482001-09-25  Gary Thomas  <gthomas@redhat.com>
149
150        * include/flash.h: Remove warning on printf() prototype.
151
1522001-08-10  Jesper Skov  <jskov@redhat.com>
153
154        * cdl/io_flash.cdl: Changed flavor of
155        CYGHWR_IO_FLASH_BLOCK_LOCKING to booldata.
156        * include/flash.h: Matching changes.
157        * src/flash.c: Matching changes.
158
1592001-07-23  David Howells  <dhowells@redhat.com>
160
161        * cdl/io_flash.cdl: Added software write protect option.
162        * include/flash.h: Ditto.
163        * src/flash.c: Added software write protect option and bank
164        support, and prevented low-level writes from being handed
165        cross-block data chunks.
166
1672001-07-20  Gary Thomas  <gthomas@redhat.com>
168
169        * include/flash.h:
170        * cdl/io_flash.cdl: Name convention: CYGINT_FLASH_WORKSPACE_SIZE
171        renamed to be CYGNUM_FLASH_WORKSPACE_SIZE.
172
1732001-07-19  Gary Thomas  <gthomas@redhat.com>
174
175        * include/flash.h:
176        * cdl/io_flash.cdl: New option CYGINT_FLASH_WORKSPACE_SIZE used
177        to control how much memory is reserved for use by FLASH drivers.
178
1792001-06-19  Hugo Tyson  <hmt@redhat.com>
180
181        * src/flash.c (flash_program): Only verify program with memcmp if
182        the status code suggests the programming went OK so far.
183        Otherwise all errors become verify errors.
184
185        (flash_init): Fix bug in removal of dependency of printf().  The
186        pointer was not initialized until after the call into the driver.
187
1882001-06-11  Gary Thomas  <gthomas@redhat.com>
189
190        * src/flash.c:
191        * include/flash.h: Remove dependency on printf() via user functions.
192
1932001-05-23  Jesper Skov  <jskov@redhat.com>
194
195        * include/flash_dev.h (FLASH_P2V): Use CYG_ADDRWORD instead of int.
196
197        * src/flash.c: Copy functions to RAM iff
198        CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM defined.
199
200        * cdl/io_flash.cdl: Changed CYGHWR_IO_FLASH_DEVICE_IN_RAM to
201        CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM.
202
2032001-05-21  Jonathan Larmour  <jlarmour@redhat.com>
204
205        * include/flash_dev.h: Fix cyg_uin16 typo.
206
2072001-03-29  Mark Salter  <msalter@redhat.com>
208
209        * cdl/io_flash.cdl (CYGSEM_IO_FLASH_VERIFY_PROGRAM): New option
210        to control whether or not to perform extra verification of flash
211        programming.
212        * src/flash.c (flash_program): No verification unless
213        CYGSEM_IO_FLASH_VERIFY_PROGRAM defined.
214
2152001-03-21  Gary Thomas  <gthomas@redhat.com>
216
217        * src/flash.c (flash_program): Verify data after programming.
218
2192001-03-21  Jesper Skov  <jskov@redhat.com>
220
221        * include/flash.h: Added low voltage error message.
222        * src/flash.c: And its error message.
223
2242001-03-17  Gary Thomas  <gthomas@redhat.com>
225
226        * src/flash.c (flash_program):
227        * include/flash.h: Add support for [StrataFLASH] buffered writes.
228        This requires knowledge of the device write buffer size [saved].
229
2302001-03-01  Gary Thomas  <gthomas@redhat.com>
231
232        * src/flash.c:
233        * include/flash.h: Allow platform to define pre/post routines
234        to enable/disable device access.  These may be required, e.g.
235        to turn on some voltage, etc.
236
2372001-02-23  Jesper Skov  <jskov@redhat.com>
238
239        * include/flash.h: HAL_FLASH_CACHES_WANT_OPTIMAL replaced with
240        (opposite sense) HAL_FLASH_CACHES_OLD_MACROS.
241
242        * src/flash.c (__anonymizer): Use to force the compiler to use
243        jumps instead of branches.
244
2452001-02-22  Jesper Skov  <jskov@redhat.com>
246
247        * include/flash_dev.h: Added. Contains macros and definitions
248        common to all (new style) flash device drivers.
249
250        * include/flash.h: Added two new error codes.
251        * cdl/io_flash.cdl: Added CYGHWR_IO_FLASH_DEVICE_IN_RAM.
252        * src/flash.c: Made functions respect
253        CYGHWR_IO_FLASH_DEVICE_IN_RAM and jump directly to the code
254        instead of copying it around.
255        (__arm_broken): Work around problem with ARM tools.
256
2572001-02-06  Hugo Tyson  <hmt@redhat.com>
258
259        * src/flash.c (flash_erase): Add an additional argument to the
260        call into the driver, being the blocksize (as discovered).  This
261        allows a gross check for actual erase in some drivers.  Those that
262        don't use it, it's harmless - after all, this is an API by trust.
263
2642000-12-06  Jesper Skov  <jskov@redhat.com>
265
266        * src/flash.c (flash_dev_query): Added. Allows reloc/cache magic
267        to be removed from device drivers (eventually). Also fixed some
268        warnings, and made function references use char[] instead of just
269        char to prevent MIPS compiler from messing up.
270
271        * include/flash.h: Added FLASH_ERR_DRV_VERIFY and flash_dev_query.
272
2732000-11-27  Jesper Skov  <jskov@redhat.com>
274
275        * src/flash.c: Do all flash access inside properly
276        cache-controlled region.
277        * include/flash.h: Cache definitions.
278
2792000-11-17  Jesper Skov  <jskov@redhat.com>
280
281        * src/flash.c: Added debug mode, allowing device driver to use printf.
282
2832000-11-16  Jesper Skov  <jskov@redhat.com>
284
285        * src/flash.c: Added suspend error messages.
286        * include/flash.h: Same.
287
2882000-09-01  Hugo Tyson  <hmt@cygnus.co.uk>
289
290        * include/flash.h:
291        * src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
292        it's always defined; look for > 0 instead.
293
2942000-08-28  Gary Thomas  <gthomas@redhat.com>
295
296        * src/flash.c:
297        * include/flash.h:
298        * cdl/io_flash.cdl: Support block locking (optional by hardware).
299
3002000-08-22  Hugo Tyson  <hmt@cygnus.co.uk>
301
302        * src/flash.c (flash_program): Add HAL_ICACHE_DISABLE/ENABLE pairs
303        around calls to RAM copy of programming/erasing function - this is
304        necessary to get reliable operation on EBSA285 and similar.
305        Otherwise, what is in the instruction cache might be run instead.
306
3072000-08-14  Gary Thomas  <gthomas@redhat.com>
308
309        * include/flash.h: Add block size mask for finding block boundaries.
310
311        * src/flash.c: Use block size properly.
312
3132000-07-29  Gary Thomas  <gthomas@redhat.com>
314
315        * include/flash.h:
316        * src/flash.c (flash_get_block_info): New function.
317        (flash_program): Program in block_size chunks as much as possible.
318
319//===========================================================================
320//####ECOSGPLCOPYRIGHTBEGIN####
321// -------------------------------------------
322// This file is part of eCos, the Embedded Configurable Operating System.
323// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
324//
325// eCos is free software; you can redistribute it and/or modify it under
326// the terms of the GNU General Public License as published by the Free
327// Software Foundation; either version 2 or (at your option) any later version.
328//
329// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
330// WARRANTY; without even the implied warranty of MERCHANTABILITY or
331// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
332// for more details.
333//
334// You should have received a copy of the GNU General Public License along
335// with eCos; if not, write to the Free Software Foundation, Inc.,
336// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
337//
338// As a special exception, if other files instantiate templates or use macros
339// or inline functions from this file, or you compile this file and link it
340// with other works to produce a work based on this file, this file does not
341// by itself cause the resulting work to be covered by the GNU General Public
342// License. However the source code for this file must still be made available
343// in accordance with section (3) of the GNU General Public License.
344//
345// This exception does not invalidate any other reasons why a work based on
346// this file might be covered by the GNU General Public License.
347//
348// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
349// at http://sources.redhat.com/ecos/ecos-license/
350// -------------------------------------------
351//####ECOSGPLCOPYRIGHTEND####
352//===========================================================================
Note: See TracBrowser for help on using the repository browser.