annotate packages/io/flash/current/ChangeLog @ 2933:0cdf7781a5ab

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