OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [io/] [flash/] [current/] [ChangeLog] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2011-12-21  John Dallaway  
2
 
3
        * doc/flash.sgml: Fix block_info field name. Issue reported by Keith
4
        Smith. [ Bugzilla 1001431 ]
5
 
6
2011-05-13  John Dallaway  
7
 
8
        * doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
9
        reported by Christophe Coutand. [ Bugzilla 1001233 ]
10
 
11
2010-05-15  Christophe Coutand 
12
 
13
        * src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
14
        CYGFUN_IO_FLASH_BLOCK_FROM_FIS is enabled and
15
        CYGFUN_IO_FLASH_BLOCK_FROM_DEVOFFSET is disabled.
16
 
17
2010-03-25  Daniel Helgason  
18
 
19
        * cdl/io_flash.cdl: Fix "requires" constraint on
20
        CYGNUM_IO_FLASH_BLOCK_OFFSET_n to allow positioning of block
21
        device at offset 0 in flash when using static configuration via
22
        offset.  Fix display string for CYGSEM_IO_FLASH_LEGACY_API option.
23
 
24
2010-01-17  John Dallaway  
25
 
26
        * src/flashiodevlegacy.c: Specify flash block device lengths correctly
27
        when using static configuration via absolute addresses. Issue reported
28
        by Daniel Helgason.
29
        * cdl/io_flash.cdl: Fix display strings for
30
        CYGNUM_IO_FLASH_BLOCK_ABSOLUTE_START_[12].
31
 
32
2009-03-02  Sergei Gavrikov  
33
 
34
        * doc/flash.sgml: Fixed typos in a FLASH API listing.
35
 
36
2009-02-20  Jonathan Larmour  
37
 
38
        * include/flash.h: Reinstate printf arg to cyg_flash_init, but it
39
        will now be officially required to be set to NULL.
40
        * src/flash.c (cyg_flash_init): Act on printf arg again (even though
41
        it's not meant to be non-NULL).
42
        * src/flashiodev.c (flashiodev_init): Call cyg_flash_init with NULL.
43
        * src/flashiodevlegacy.c (flashiodev_init): Ditto.
44
        * src/legacy_api.c (flash_init): Ditto.
45
        * doc/flash.sgml: Update cyg_flash_init as above, deprecating use of
46
        non-NULL parameter.
47
 
48
2009-02-18  Jonathan Larmour  
49
 
50
        * include/flash.h: Modest API change: cyg_flash_init() no longer
51
        takes a printf function argument. Instead two new API functions
52
        are available: cyg_flash_set_printf() and
53
        cyg_flash_set_global_printf().
54
 
55
        * src/flash.c (CHATTER): Don't attempt output if printf function
56
        is NULL.
57
        (cyg_flash_init): No longer takes printf arg.
58
        (cyg_flash_set_printf): New. Set per-device printf function, locking
59
        if needed.
60
        (cyg_flash_set_global_printf): New. Set printf function for all
61
        devices, locking if needed.
62
 
63
        * src/flashiodev.c (flashiodev_init): cyg_flash_init no longer takes
64
        printf arg, and we can leave global printf at default.
65
        * src/flashiodevlegacy.c (flashiodev_init): Ditto.
66
 
67
        * src/legacy_api.c (flash_init): cyg_flash_init no longer takes
68
        printf arg. So call cyg_flash_set_global_printf as well.
69
 
70
        * src/legacy_dev.c (legacy_flash_init): legacy drivers can't handle
71
        NULL printf function, so provide a dummy.
72
 
73
        * doc/flash.sgml: Document removal of printf functionality of
74
        cyg_flash_init() and document cyg_flash_set_printf() and
75
        cyg_flash_set_global_printf().
76
 
77
2009-02-13  Bart Veer  
78
 
79
        * doc/flash.sgml: remove incomplete sentence.
80
 
81
        * cdl/io_flash.cdl: remove CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM, no
82
        longer needed.
83
 
84
2008-11-24  Sergei Gavrikov  
85
 
86
        * tests/flashdev.c: Some warnings cleanup. [ Bugzilla 1000643 ]
87
 
88
2008-11-23  Sergei Gavrikov  
89
 
90
        * doc/flash.sgml: Fix flash.h header name typos.
91
 
92
2008-11-18  Jonathan Larmour  
93
 
94
        * src/flash.c (cyg_flash_init): Allow repeated calls to
95
        change the printf function for all devices. There are
96
        times you don't any output, eg you are downloading an
97
        image over the serial port.
98
 
99
2008-08-29  Nick Garnett  
100
 
101
        * src/flashiodev.c (flashiodev_init): Assign
102
        CYG_DEVTAB_STATUS_BLOCK to status field of device table
103
        entries. This causes devfs to call the right read/write
104
        operations.
105
 
106
2008-06-10  Jonathan Larmour  
107
 
108
        * tests/flashdev.c (FLASH_TEST_LENGTH): Reduce to a
109
        multiple of 0x20000 as some flash parts (especially if
110
        they are in fact multiple chips in parallel) have that
111
        block size.
112
        Try opening jffs2test FIS partition if flashtest doesn't exist.
113
 
114
2007-05-14  Jonathan Larmour  
115
 
116
        * src/flashiodev.c (flashiodev_get_config): Support new
117
        CYG_IO_GET_CONFIG_FLASH_DEVADDR key to get flash device
118
        base address.
119
        * include/flash.h: Associated structure for key.
120
        * doc/flash.sgml: Document CYG_IO_GET_CONFIG_FLASH_DEVADDR.
121
 
122
2006-12-18  Jonathan Larmour  
123
 
124
        * tests/flash1.c: Replace FLASH_ERR_OK with CYG_FLASH_ERR_OK.
125
        * tests/flashdev.c: Ditto. Also flash_errmsg ->
126
        cyg_flash_errmsg. And some warning cleanups.
127
 
128
        * src/flashiodev.c (flashiodev_lookup): Correct misplaced else
129
        with respect to #ifdefs. Fix for bug 1000355.
130
 
131
2006-12-18  Nick Garnett  
132
 
133
        * src/flash_legacy.h (FLASH_Enable, FLASH_Disable): Add casts to
134
        these macros since the calls in the source don't present the right
135
        types. This is mainly an exercise in suppressing compiler
136
        warnings.
137
 
138
2006-12-07  Nick Garnett  
139
 
140
        * tests/flashdev.c (cyg_start): Fix bug, b.offset should be
141
        initialized to 0. Until now it was some random value on the stack,
142
        why this has never bitten us before is a mystery.
143
 
144
2006-10-31  Jonathan Larmour  
145
 
146
        * src/legacy_dev.c (legacy_flash_program): Define block_size.
147
 
148
2006-10-03  Jonathan Larmour  
149
 
150
        * doc/flash.sgml: Bring into line with actual implementation.
151
        Also some trivial typos.
152
 
153
2006-08-01  Jonathan Larmour  
154
 
155
        * src/flash.c (cyg_flash_devfn_lock_nop): Don't return error
156
        if this is used with one of multiple flash devices in a
157
        system where a different one does support locking.
158
        (cyg_flash_devfn_unlock_nop): Ditto.
159
 
160
2006-06-06  John Dallaway  
161
 
162
        * cdl/io_flash.cdl: Fix reference to package documentation.
163
 
164
2006-05-23  Jonathan Larmour  
165
 
166
        * src/flash.c (cyg_flash_erase): Report errors and error
167
        addresses correctly.
168
        (cyg_flash_program): Ditto.
169
 
170
2005-12-21  Jonathan Larmour  
171
 
172
        * doc/flash.sgml: Document flash block device lock/unlock config keys.
173
 
174
2005-10-26  Nick Garnett  
175
 
176
        * include/flash.h (cyg_io_flash_getconfig_lock_t)
177
        (cyg_io_flash_getconfig_unlock_t): Added these aliases for
178
        cyg_io_flash_getconfig_erase_t.
179
 
180
        * cdl/io_flash.cdl: Added configury to control compilation of
181
        flash1 test. Added flashdev test.
182
 
183
        * src/legacy_api.c (flash_lock, flash_unlock): Added these functions.
184
 
185
        * src/flashiodev.c (flashiodev_get_config): Added support for lock
186
        and unlock operations.
187
 
188
        * tests/flashdev.c: Added this test to exercise flash /dev/flash
189
        device. Functionally it is similar to the flash1 test.
190
 
191
        * tests/flash1.c : Changed test for legacy API.
192
        (cyg_start): Added tests for lock and unlock functions.
193
 
194
2005-09-28  Jonathan Larmour  
195
 
196
        * src/flash.c (flash_sort_and_check): Allow for Flash
197
        device initialisation to fail, and thus not put this device
198
        on the Flash device list.
199
 
200
2005-09-26  Bart Veer  
201
 
202
        * src/flash.c: put init flag into .bss rather than .data, avoids
203
        some problems when performing soft resets.
204
 
205
2005-08-16  Jonathan Larmour  
206
 
207
        * src/flash.c (cyg_flash_read): Comment out chatter. It's not
208
        very useful for this function.
209
 
210
2005-08-02  Andrew Lunn  
211
 
212
        * tests/flash1.c (cyg_start): Compiler warning fixes.
213
 
214
2005-05-27  Jonathan Larmour  
215
 
216
        * tests/flash1.c (cyg_start): Call CYG_TEST_INIT().
217
 
218
2005-03-27  Andrew Lunn  
219
 
220
        * tests/flash1.c: Fixed compiler warning with diag_printf.
221
 
222
2005-02-28  Jonathan Larmour  
223
 
224
        * include/flash.h: Getconfig/setconfig definitions are relevant for
225
        both new and legacy block device support.
226
 
227
2005-01-28  Nick Garnett  
228
 
229
        * src/legacy_dev.c (legacy_flash_init): Assign flash_info.pf from
230
        flash device field. Otherwise drivers try to call an invalid
231
        address.
232
        (legacy_flash_program): The last argument to flash_program_buf()
233
        is not the block size but the programming buffer size.
234
 
235
2005-01-21  Jonathan Larmour  
236
 
237
        * doc/flash.sgml: Document Flash block devices.
238
 
239
2005-01-19  Jonathan Larmour  
240
 
241
        * src/flashiodev.c: Redesign to use more flexible flash names.
242
        * src/flashiodevlegacy.c: Previous version of flashiodev.c renamed
243
        to this.
244
        * cdl/io_flash.cdl: Support new flashiodev design.
245
        * include/flash.h: don't double indirect err_address address
246
        pointer in cyg_io_flash_getconfig_erase_t.
247
        * src/flash_legacy.h: Undef HAL_FLASH_CACHES_* macros if the HAL
248
        supplied them and they're not needed.
249
 
250
        * src/legacy_api.c (flash_errmsg): Was missing. Add.
251
 
252
        * tests/flash1.c (cyg_start): Silence warning.
253
 
254
2004-12-02  Bart Veer  
255
 
256
        * include/flash_dev.h: now provides everything needed by flash
257
        device drivers.
258
 
259
        * include/flash_priv.h: removed, subsumed by flash_dev.h
260
 
261
        * include/flash.h, src/flash.c, src/flashiodev.c,
262
          src/legacy_api.c, src/legacy_dev.c:
263
        Replace implicit #include's of  with explicit
264
        #include's of 
265
 
266
2004-11-29  Bart Veer  
267
 
268
        * include/flash_priv.h, src/flash.c, src/legacy_dev.c: remove
269
        hwr_map_error() from V2 drivers
270
 
271
        * include/flash_priv.h, src/flash.c, src/legacy_dev.c: provide
272
        dummy init/query/lock/unlock functions for use by device drivers
273
        which do not support/need this functionality. Export the
274
        anonymizer function.
275
 
276
2004-11-28  John Dallaway  
277
 
278
        * doc/flash.sgml: Fix minor SGML tag problems.
279
 
280
2004-11-28  Bart Veer  
281
 
282
        * src/flash.c (flash_sort_and_check): previous patch would have
283
        resulted in init failure if only one device initialized.
284
        (cyg_flash_get_info): handle per-device init flag
285
 
286
2004-11-25  Andrew Lunn  
287
 
288
        * src/flash.c (flash_sort_and_check): Don't add devices which
289
        failed to initialise onto the list. Don't bother sorting the
290
        list if its empty or only has one entry.
291
        * src/flash.c (find_dev): All devices on the list are initialised so
292
        don't both checking the init flag.
293
 
294
2004-11-24  Bart Veer  
295
 
296
        * cdl/io_flash.cdl, src/flash.c, src/flash_legacy.h,
297
        src/legacy_dev.c: add support for V2 drivers which can take care
298
        of the cache and interrupts themselves.
299
 
300
        * tests/flash1.c (cyg_start): mark N/A for now if a V2 driver is
301
        being used.
302
        * Merge from flash V2 branch
303
 
304
  2004-11-22  Bart Veer  
305
 
306
        * src/legacy_dev.c: remove .2ram attributes. These functions do
307
        not manipulate the hardware, there is no need for them to live in
308
        ram rather than flash
309
        * include/flash_priv.h, src/legacy_dev.c: clean up the interface
310
        between the generic flash code and the device drivers
311
        * include/flash_priv, src/flash_legacy.h, src/flash.c,
312
        src/legacy_dev.c: move cache stuff andother legacy macros
313
        to an internal header.
314
        * include/flash.h, include/flash_priv.h, doc/flash.sgml,
315
        src/flash.c, src/legacy_dev.c: put const in the right places,
316
        and rename cyg_block_info to cyg_flash_block_info
317
 
318
  2004-11-21  Bart Veer  
319
 
320
        * src/flash.c, include/flash_priv.h, cdl/io_flash.h: optimize
321
        for the case of a single flash device.
322
        * include/flash.h, src/flash.c, doc/flash.sgml: remove
323
        cyg_flash_code_overlaps()
324
        * include/flash_priv.h, include/flash.h:
325
        CYGSEM_IO_FLASH_LEGACY_DEVICE_API has been removed, test
326
        CYGHWR_IO_FLASH_DEVICE_LEGACY instead
327
        * cdl/io_flash.cdl: lots of clean-ups
328
        * src/legacy_dev.c (legacy_flash_read): only needed if the
329
        underlying legacy driver required indirect reads.
330
        * src/flash.c: encapsulate various optional bits of code in
331
        macros, to cut down on the #ifdef's in the main code
332
 
333
  2004-11-20  Bart Veer  
334
 
335
        * cdl/io_flash.cdl, src/flash.c(cyg_flash_read): add an interface
336
        for hardware which requires indirect reads, and suppress
337
        unnecessary code if direct reads are always available.
338
        * src/flash.c: rearrange loops to avoid address comparisons, which
339
        tend to go wrong if the flash is at the end of the address space
340
 
341
  2004-10-06  Andrew Lunn  
342
 
343
        * src/legacy_dev.c (legacy_flash_init): The end is the size plus
344
        the start.
345
 
346
  2004-09-30  Savin Zlobec 
347
 
348
        * src/flash.c: Offset into the block is not calculated correctly
349
        when the flash start is not aligned on a flash block.
350
        * src/legacy_dev.c (legacy_flash_read): Fixed typo.
351
 
352
  2004-09-14  Andrew Lunn  
353
 
354
        * src/flash.c (cyg_flash_init): Add assert checking that the
355
        end address matches the block information.
356
        * src/legacy_dev.c (legacy_flash_init): Ensure that the end
357
        address is the last valid address, not the first invalid address.
358
 
359
  2004-09-09  Andrew Lunn  
360
 
361
        * src/flash.c: Support flash blocks of arbitary size. The
362
        DataFlash devices for example have block of 528 bytes.
363
 
364
  2004-08-21  Andrew Lunn  
365
 
366
        * removed the functions cyg_flash_get_limits and
367
        cyg_flash_get_block_info. Reimplemented the legacy functions
368
        that depended on them and flashiodev.c
369
 
370
  2004-08-19  Andrew Lunn  
371
 
372
        * src/flashiodev.c Ordering problem again. If an invalid name is
373
        configured the lookup would fail and it then was impossible to do
374
        a cyg_io_config_set. Lookup cannot fail because the name does not
375
        exist in FIS.
376
 
377
  2004-08-13  Andrew Lunn  
378
 
379
        * src/flash.c: Make the flock lock/unlock code compile without
380
        warnings.
381
        * src/flashiodev.c (flashiodev_lookup): Only initialize the device
382
        if we have not already been initialized via cyg_set_config().
383
        This stopped redboots mount -f working.
384
 
385
  2004-08-09  Andrew Lunn  
386
 
387
        * src/flashiodev.c (flashiodev_lookup): Moved most of the
388
        flashiodev_init into this new function. This fixed the ordering
389
        issue with redboot startup. When doing a FIS name lookup in
390
        flashiodev_init, redboot was not yet nitialised so lookup
391
        failed. Moving this into flashiodev_lookup solves this problem.
392
        Its now possible for redboot to mount the jffs2 filesystem with
393
        -d /dev/flash1.
394
 
395
  2004-08-06  Andrew Lunn  
396
 
397
        * src/flashiodev.c: Fix typo in macro and configuration options
398
 
399
  2004-08-05  Andrew Lunn  
400
 
401
        * src/flash.c: Major rewrite to implement a new API
402
        * src/legacy_api.c: Support the legacy API
403
        * src/legacy_drv.c: Support the legacy driver API
404
        * src/flashiodev.c: Support the new API and multiple devices
405
        * include/flash_priv.h: Interface devices should use
406
        * cdl/io_flash.cdl: Updates for new interface and multiple devices.
407
 
408
2004-09-05  Mark Salter  
409
 
410
        * doc/flash.sgml: Fix unbalanced s.
411
 
412
2004-08-24  Gary Thomas  
413
 
414
        * cdl/io_flash.cdl:
415
        * tests/flash1.c: Add simple test of FLASH driver.
416
 
417
2004-06-20  Andrew Lunn  
418
 
419
        * src/flash.c (flash_read): Don't check if the flash is write
420
          protected before performing a read.
421
        * doc/flash.sgml
422
        * cdl/io_flash.cdl: Added documentation of the FLASH API
423
 
424
2004-04-29  Sebastien Couret  
425
2004-04-29  Jonathan Larmour  
426
 
427
        * src/flashiodev.c: When checking flash upper bound, allow for end
428
        of flash at 0xffffffff.
429
 
430
2003-11-27  David Woodhouse  
431
 
432
        * src/flashiodev.c: Enable set_config() and implement
433
        CYG_IO_SET_CONFIG_FLASH_FIS_NAME.
434
 
435
2003-11-25  Andrew Lunn  
436
 
437
        * src/flash.c: gcc 3.x vs gcc 2.x problems.
438
 
439
2003-11-24  Jani Monoses  
440
 
441
        * cdl/io_flash.cdl:
442
        * include/flash.h: Remove CYGNUM_FLASH_WORKSPACE_SIZE cdl option.
443
 
444
2003-11-24  Roland Caßebohm 
445
 
446
        * src/flashiodev.c (flashiodev_bwrite): Use flash_read rather than
447
        directly doing a memcpy.
448
 
449
2003-11-20  Jani Monoses  
450
 
451
        * src/flash.c:
452
        * src/flashiodev.c:
453
        * include/flash.h: Remove references to work_space and work_space_size
454
        since they are no longer used.
455
 
456
2003-11-20  Jani Monoses  
457
 
458
        * cdl/io_flash.cdl:
459
        * src/flash.c: Remove handling of CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
460
        now that all flash drivers use ELF sections to specify which parts
461
        go in RAM.
462
 
463
2003-10-08  Roland Cassebohm  
464
 
465
        * src/flash.c: Fix parse error if CYGSEM_IO_FLASH_READ_INDIRECT
466
        is not defined.
467
 
468
2003-09-19  Gary Thomas  
469
 
470
        * src/flash.c:
471
        * include/flash.h:
472
        * cdl/io_flash.cdl: Add support for NAND (indirectly accessed)
473
        devices.  This includes a generic "flash_read_buf()" function.
474
 
475
2003-04-14  Jani Monoses  
476
 
477
        * include/flash_dev.h: Include 
478
 
479
2003-03-19  Thomas Koeller 
480
 
481
        * src/flashiodev.c: Fixed trivial error.
482
 
483
2003-03-03  Knud Woehler 
484
 
485
        * src/flashiodev.c:
486
        * cdl/io_flash.cdl: Add CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 /
487
        CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1. Initialize the block device
488
        from the FIS table.
489
 
490
2003-02-24  Jonathan Larmour  
491
 
492
        * cdl/io_flash.cdl: Remove irrelevant doc link - default to top
493
        level.
494
 
495
2002-01-31  Jonathan Larmour  
496
 
497
        * src/flashiodev.c: Fix bounds checking and offsetting.
498
 
499
        * cdl/io_flash.cdl (CYGNUM_IO_FLASH_BLOCK_LENGTH_1): Default to
500
        0x100000 for convenience.
501
 
502
2002-01-30  Jonathan Larmour  
503
 
504
        * cdl/io_flash.cdl: Allow specification of an offset and length
505
        of the region of flash.
506
        * src/flashiodev.c: Use it.
507
 
508
2002-01-24  Jesper Skov  
509
 
510
        * include/flash.h: Add a comment about the obvious: the flash
511
        caching macros should be called with interrupts disabled.
512
 
513
2002-01-23  Jonathan Larmour  
514
 
515
        * cdl/io_flash.cdl: Add CYGPKG_IO_FLASH_BLOCK_DEVICE and
516
        CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 to allow exporting flash
517
        as block devices accessible from file systems.
518
        * src/fileiodev.c: New file implementing this.
519
        * include/flash.h: Add typedefs for the various structures used
520
        to configure the block devices.
521
 
522
2002-01-18  Paul Fine  
523
 
524
        * src/flash.c : Modified flash_verify_addr, flash_erase,
525
        flash_lock and flash_unlock to to work properly when the location
526
        of the flash in the memory map is at the very top of the address
527
        space.  We check and handle values that may overflow.
528
 
529
2001-10-28  Gary Thomas  
530
 
531
        * src/flash.c (flash_erase): Don't call hardware layer if block
532
        appears to be already erased [faster and less wear & tear].
533
 
534
2001-10-25  Jonathan Larmour  
535
 
536
        * include/flash_dev.h: Fix test of 4x16-bit flash parts.
537
        Spotted by Jose Pascual 
538
 
539
2001-10-16  Jesper Skov  
540
 
541
        * src/flash.c: Include string.h
542
 
543
        * cdl/io_flash.cdl: Package requires ISOINFRA and string
544
        functions.
545
 
546
2001-10-15  David Howells  
547
 
548
        * src/flash.c: Include string.h to get mem*() functions.
549
 
550
2001-09-25  Gary Thomas  
551
 
552
        * include/flash.h: Remove warning on printf() prototype.
553
 
554
2001-08-10  Jesper Skov  
555
 
556
        * cdl/io_flash.cdl: Changed flavor of
557
        CYGHWR_IO_FLASH_BLOCK_LOCKING to booldata.
558
        * include/flash.h: Matching changes.
559
        * src/flash.c: Matching changes.
560
 
561
2001-07-23  David Howells  
562
 
563
        * cdl/io_flash.cdl: Added software write protect option.
564
        * include/flash.h: Ditto.
565
        * src/flash.c: Added software write protect option and bank
566
        support, and prevented low-level writes from being handed
567
        cross-block data chunks.
568
 
569
2001-07-20  Gary Thomas  
570
 
571
        * include/flash.h:
572
        * cdl/io_flash.cdl: Name convention: CYGINT_FLASH_WORKSPACE_SIZE
573
        renamed to be CYGNUM_FLASH_WORKSPACE_SIZE.
574
 
575
2001-07-19  Gary Thomas  
576
 
577
        * include/flash.h:
578
        * cdl/io_flash.cdl: New option CYGINT_FLASH_WORKSPACE_SIZE used
579
        to control how much memory is reserved for use by FLASH drivers.
580
 
581
2001-06-19  Hugo Tyson  
582
 
583
        * src/flash.c (flash_program): Only verify program with memcmp if
584
        the status code suggests the programming went OK so far.
585
        Otherwise all errors become verify errors.
586
 
587
        (flash_init): Fix bug in removal of dependency of printf().  The
588
        pointer was not initialized until after the call into the driver.
589
 
590
2001-06-11  Gary Thomas  
591
 
592
        * src/flash.c:
593
        * include/flash.h: Remove dependency on printf() via user functions.
594
 
595
2001-05-23  Jesper Skov  
596
 
597
        * include/flash_dev.h (FLASH_P2V): Use CYG_ADDRWORD instead of int.
598
 
599
        * src/flash.c: Copy functions to RAM iff
600
        CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM defined.
601
 
602
        * cdl/io_flash.cdl: Changed CYGHWR_IO_FLASH_DEVICE_IN_RAM to
603
        CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM.
604
 
605
2001-05-21  Jonathan Larmour  
606
 
607
        * include/flash_dev.h: Fix cyg_uin16 typo.
608
 
609
2001-03-29  Mark Salter  
610
 
611
        * cdl/io_flash.cdl (CYGSEM_IO_FLASH_VERIFY_PROGRAM): New option
612
        to control whether or not to perform extra verification of flash
613
        programming.
614
        * src/flash.c (flash_program): No verification unless
615
        CYGSEM_IO_FLASH_VERIFY_PROGRAM defined.
616
 
617
2001-03-21  Gary Thomas  
618
 
619
        * src/flash.c (flash_program): Verify data after programming.
620
 
621
2001-03-21  Jesper Skov  
622
 
623
        * include/flash.h: Added low voltage error message.
624
        * src/flash.c: And its error message.
625
 
626
2001-03-17  Gary Thomas  
627
 
628
        * src/flash.c (flash_program):
629
        * include/flash.h: Add support for [StrataFLASH] buffered writes.
630
        This requires knowledge of the device write buffer size [saved].
631
 
632
2001-03-01  Gary Thomas  
633
 
634
        * src/flash.c:
635
        * include/flash.h: Allow platform to define pre/post routines
636
        to enable/disable device access.  These may be required, e.g.
637
        to turn on some voltage, etc.
638
 
639
2001-02-23  Jesper Skov  
640
 
641
        * include/flash.h: HAL_FLASH_CACHES_WANT_OPTIMAL replaced with
642
        (opposite sense) HAL_FLASH_CACHES_OLD_MACROS.
643
 
644
        * src/flash.c (__anonymizer): Use to force the compiler to use
645
        jumps instead of branches.
646
 
647
2001-02-22  Jesper Skov  
648
 
649
        * include/flash_dev.h: Added. Contains macros and definitions
650
        common to all (new style) flash device drivers.
651
 
652
        * include/flash.h: Added two new error codes.
653
        * cdl/io_flash.cdl: Added CYGHWR_IO_FLASH_DEVICE_IN_RAM.
654
        * src/flash.c: Made functions respect
655
        CYGHWR_IO_FLASH_DEVICE_IN_RAM and jump directly to the code
656
        instead of copying it around.
657
        (__arm_broken): Work around problem with ARM tools.
658
 
659
2001-02-06  Hugo Tyson  
660
 
661
        * src/flash.c (flash_erase): Add an additional argument to the
662
        call into the driver, being the blocksize (as discovered).  This
663
        allows a gross check for actual erase in some drivers.  Those that
664
        don't use it, it's harmless - after all, this is an API by trust.
665
 
666
2000-12-06  Jesper Skov  
667
 
668
        * src/flash.c (flash_dev_query): Added. Allows reloc/cache magic
669
        to be removed from device drivers (eventually). Also fixed some
670
        warnings, and made function references use char[] instead of just
671
        char to prevent MIPS compiler from messing up.
672
 
673
        * include/flash.h: Added FLASH_ERR_DRV_VERIFY and flash_dev_query.
674
 
675
2000-11-27  Jesper Skov  
676
 
677
        * src/flash.c: Do all flash access inside properly
678
        cache-controlled region.
679
        * include/flash.h: Cache definitions.
680
 
681
2000-11-17  Jesper Skov  
682
 
683
        * src/flash.c: Added debug mode, allowing device driver to use printf.
684
 
685
2000-11-16  Jesper Skov  
686
 
687
        * src/flash.c: Added suspend error messages.
688
        * include/flash.h: Same.
689
 
690
2000-09-01  Hugo Tyson  
691
 
692
        * include/flash.h:
693
        * src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
694
        it's always defined; look for > 0 instead.
695
 
696
2000-08-28  Gary Thomas  
697
 
698
        * src/flash.c:
699
        * include/flash.h:
700
        * cdl/io_flash.cdl: Support block locking (optional by hardware).
701
 
702
2000-08-22  Hugo Tyson  
703
 
704
        * src/flash.c (flash_program): Add HAL_ICACHE_DISABLE/ENABLE pairs
705
        around calls to RAM copy of programming/erasing function - this is
706
        necessary to get reliable operation on EBSA285 and similar.
707
        Otherwise, what is in the instruction cache might be run instead.
708
 
709
2000-08-14  Gary Thomas  
710
 
711
        * include/flash.h: Add block size mask for finding block boundaries.
712
 
713
        * src/flash.c: Use block size properly.
714
 
715
2000-07-29  Gary Thomas  
716
 
717
        * include/flash.h:
718
        * src/flash.c (flash_get_block_info): New function.
719
        (flash_program): Program in block_size chunks as much as possible.
720
 
721
//===========================================================================
722
// ####GPLCOPYRIGHTBEGIN####
723
// -------------------------------------------
724
// This file is part of eCos, the Embedded Configurable Operating System.
725
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
726
//
727
// This program is free software; you can redistribute it and/or modify
728
// it under the terms of the GNU General Public License as published by
729
// the Free Software Foundation; either version 2 or (at your option) any
730
// later version.
731
//
732
// This program is distributed in the hope that it will be useful, but
733
// WITHOUT ANY WARRANTY; without even the implied warranty of
734
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
735
// General Public License for more details.
736
//
737
// You should have received a copy of the GNU General Public License
738
// along with this program; if not, write to the
739
// Free Software Foundation, Inc., 51 Franklin Street,
740
// Fifth Floor, Boston, MA  02110-1301, USA.
741
// -------------------------------------------
742
// ####GPLCOPYRIGHTEND####
743
//===========================================================================

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.