Mercurial > nand-ecoscentric
annotate packages/io/flash/current/ChangeLog @ 3403:8c8767bb9a62 default tip
devs/nand/micron_mt29: Remove defunct references (in comments) to mt29f2g08_oob_ecc.
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Sun, 18 Jan 2015 17:59:01 +1300 |
| parents | 6563d2d59cf2 |
| children |
| rev | line source |
|---|---|
|
3145
6563d2d59cf2
* doc/flash.sgml: Fix block_info field name. Issue reported by Keith
jld
parents:
3111
diff
changeset
|
1 2011-12-21 John Dallaway <john@dallaway.org.uk> |
|
6563d2d59cf2
* doc/flash.sgml: Fix block_info field name. Issue reported by Keith
jld
parents:
3111
diff
changeset
|
2 |
|
6563d2d59cf2
* doc/flash.sgml: Fix block_info field name. Issue reported by Keith
jld
parents:
3111
diff
changeset
|
3 * doc/flash.sgml: Fix block_info field name. Issue reported by Keith |
|
6563d2d59cf2
* doc/flash.sgml: Fix block_info field name. Issue reported by Keith
jld
parents:
3111
diff
changeset
|
4 Smith. [ Bugzilla 1001431 ] |
|
6563d2d59cf2
* doc/flash.sgml: Fix block_info field name. Issue reported by Keith
jld
parents:
3111
diff
changeset
|
5 |
|
3111
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
6 2011-05-13 John Dallaway <john@dallaway.org.uk> |
|
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
7 |
|
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
8 * doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue |
|
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
9 reported by Christophe Coutand. [ Bugzilla 1001233 ] |
|
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
10 |
|
3028
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
11 2010-05-15 Christophe Coutand <ccoutand@stmi.com> |
|
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
12 |
|
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
13 * src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if |
|
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
14 CYGFUN_IO_FLASH_BLOCK_FROM_FIS is enabled and |
|
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
15 CYGFUN_IO_FLASH_BLOCK_FROM_DEVOFFSET is disabled. |
|
ecbc3608d513
* src/flashiodev.c (flashiodev_lookup): Fix wrong code execution if
jlarmour
parents:
3011
diff
changeset
|
16 |
| 3011 | 17 2010-03-25 Daniel Helgason <dhelgason@shaw.ca> |
| 18 | |
| 19 * cdl/io_flash.cdl: Fix "requires" constraint on | |
| 20 CYGNUM_IO_FLASH_BLOCK_OFFSET_n to allow positioning of block | |
| 21 device at offset 0 in flash when using static configuration via | |
| 22 offset. Fix display string for CYGSEM_IO_FLASH_LEGACY_API option. | |
| 23 | |
|
3001
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
24 2010-01-17 John Dallaway <john@dallaway.org.uk> |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
25 |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
26 * src/flashiodevlegacy.c: Specify flash block device lengths correctly |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
27 when using static configuration via absolute addresses. Issue reported |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
28 by Daniel Helgason. |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
29 * cdl/io_flash.cdl: Fix display strings for |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
30 CYGNUM_IO_FLASH_BLOCK_ABSOLUTE_START_[12]. |
|
0cdf7781a5ab
* src/flashiodevlegacy.c: Specify flash block device lengths correctly
jld
parents:
2888
diff
changeset
|
31 |
|
2846
9a56db249d3d
* doc/flash.sgml: Fix typos in a FLASH API listing. [ Bugzilla 1000704 ]
jld
parents:
2826
diff
changeset
|
32 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
|
33 |
|
9a56db249d3d
* doc/flash.sgml: Fix typos in a FLASH API listing. [ Bugzilla 1000704 ]
jld
parents:
2826
diff
changeset
|
34 * 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
|
35 |
|
2826
ccce4b32433a
* include/flash.h: Reinstate printf arg to cyg_flash_init, but it
jlarmour
parents:
2816
diff
changeset
|
36 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
|
37 |
|
ccce4b32433a
* include/flash.h: Reinstate printf arg to cyg_flash_init, but it
jlarmour
parents:
2816
diff
changeset
|
38 * 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
|
39 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
|
40 * 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
|
41 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
|
42 * 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
|
43 * src/flashiodevlegacy.c (flashiodev_init): Ditto. |
|
ccce4b32433a
* include/flash.h: Reinstate printf arg to cyg_flash_init, but it
jlarmour
parents:
2816
diff
changeset
|
44 * 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
|
45 * 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
|
46 non-NULL parameter. |
|
ccce4b32433a
* include/flash.h: Reinstate printf arg to cyg_flash_init, but it
jlarmour
parents:
2816
diff
changeset
|
47 |
|
2816
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
48 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
|
49 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
50 * 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
|
51 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
|
52 are available: cyg_flash_set_printf() and |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
53 cyg_flash_set_global_printf(). |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
54 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
55 * 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
|
56 is NULL. |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
57 (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
|
58 (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
|
59 if needed. |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
60 (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
|
61 devices, locking if needed. |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
62 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
63 * 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
|
64 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
|
65 * src/flashiodevlegacy.c (flashiodev_init): Ditto. |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
66 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
67 * 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
|
68 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
|
69 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
70 * 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
|
71 NULL printf function, so provide a dummy. |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
72 |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
73 * 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
|
74 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
|
75 cyg_flash_set_global_printf(). |
|
422d0a343b4d
* include/flash.h: Modest API change: cyg_flash_init() no longer
jlarmour
parents:
2798
diff
changeset
|
76 |
|
2796
7960df48e8a2
Remove unused interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
bartv
parents:
2729
diff
changeset
|
77 2009-02-13 Bart Veer <bartv@ecoscentric.com> |
|
7960df48e8a2
Remove unused interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
bartv
parents:
2729
diff
changeset
|
78 |
| 2798 | 79 * doc/flash.sgml: remove incomplete sentence. |
| 80 | |
|
2796
7960df48e8a2
Remove unused interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
bartv
parents:
2729
diff
changeset
|
81 * 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
|
82 longer needed. |
|
7960df48e8a2
Remove unused interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
bartv
parents:
2729
diff
changeset
|
83 |
|
2888
d5bbba5243dc
* tests/flashdev.c: Compiler warning cleanup. [ Bugzilla 1000643 ]
jld
parents:
2846
diff
changeset
|
84 2008-11-24 Sergei Gavrikov <sergei.gavrikov@gmail.com> |
|
d5bbba5243dc
* tests/flashdev.c: Compiler warning cleanup. [ Bugzilla 1000643 ]
jld
parents:
2846
diff
changeset
|
85 |
|
d5bbba5243dc
* tests/flashdev.c: Compiler warning cleanup. [ Bugzilla 1000643 ]
jld
parents:
2846
diff
changeset
|
86 * tests/flashdev.c: Some warnings cleanup. [ Bugzilla 1000643 ] |
|
d5bbba5243dc
* tests/flashdev.c: Compiler warning cleanup. [ Bugzilla 1000643 ]
jld
parents:
2846
diff
changeset
|
87 |
| 2658 | 88 2008-11-23 Sergei Gavrikov <sergei.gavrikov@gmail.com> |
| 89 | |
| 90 * doc/flash.sgml: Fix flash.h header name typos. | |
| 91 | |
|
2633
592d727733df
* src/flash.c (cyg_flash_init): Allow repeated calls to
jlarmour
parents:
2626
diff
changeset
|
92 2008-11-18 Jonathan Larmour <jifl@eCosCentric.com> |
|
592d727733df
* src/flash.c (cyg_flash_init): Allow repeated calls to
jlarmour
parents:
2626
diff
changeset
|
93 |
|
592d727733df
* src/flash.c (cyg_flash_init): Allow repeated calls to
jlarmour
parents:
2626
diff
changeset
|
94 * 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
|
95 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
|
96 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
|
97 image over the serial port. |
|
592d727733df
* src/flash.c (cyg_flash_init): Allow repeated calls to
jlarmour
parents:
2626
diff
changeset
|
98 |
|
2626
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
99 2008-08-29 Nick Garnett <nickg@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 * src/flashiodev.c (flashiodev_init): Assign |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
102 CYG_DEVTAB_STATUS_BLOCK to status field of device table |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
103 entries. This causes devfs to call the right read/write |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
104 operations. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
105 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
106 2008-06-10 Jonathan Larmour <jifl@eCosCentric.com> |
|
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 * tests/flashdev.c (FLASH_TEST_LENGTH): Reduce to a |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
109 multiple of 0x20000 as some flash parts (especially if |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
110 they are in fact multiple chips in parallel) have that |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
111 block size. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
112 Try opening jffs2test FIS partition if flashtest doesn't exist. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
113 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
114 2007-05-14 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
115 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
116 * src/flashiodev.c (flashiodev_get_config): Support new |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
117 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
|
118 base address. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
119 * include/flash.h: Associated structure for key. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
120 * doc/flash.sgml: Document CYG_IO_GET_CONFIG_FLASH_DEVADDR. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
121 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
122 2006-12-18 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
123 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
124 * 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
|
125 * tests/flashdev.c: Ditto. Also flash_errmsg -> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
126 cyg_flash_errmsg. And some warning cleanups. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
127 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
128 * src/flashiodev.c (flashiodev_lookup): Correct misplaced else |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
129 with respect to #ifdefs. Fix for bug 1000355. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
130 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
131 2006-12-18 Nick Garnett <nickg@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
132 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
133 * 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
|
134 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
|
135 types. This is mainly an exercise in suppressing compiler |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
136 warnings. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
137 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
138 2006-12-07 Nick Garnett <nickg@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
139 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
140 * 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
|
141 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
|
142 why this has never bitten us before is a mystery. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
143 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
144 2006-10-31 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
145 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
146 * src/legacy_dev.c (legacy_flash_program): Define block_size. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
147 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
148 2006-10-03 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
149 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
150 * doc/flash.sgml: Bring into line with actual implementation. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
151 Also some trivial typos. |
|
2142
a7557f72de47
* src/flash.c (flash_init): Allow repeat calls change the function
asl
parents:
2055
diff
changeset
|
152 |
|
2626
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
153 2006-08-01 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
154 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
155 * 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
|
156 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
|
157 system where a different one does support locking. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
158 (cyg_flash_devfn_unlock_nop): Ditto. |
|
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 2006-06-06 John Dallaway <jld@ecoscentric.com> |
|
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 * cdl/io_flash.cdl: Fix reference to package documentation. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
163 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
164 2006-05-23 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
165 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
166 * src/flash.c (cyg_flash_erase): Report errors and error |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
167 addresses correctly. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
168 (cyg_flash_program): Ditto. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
169 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
170 2005-12-21 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
171 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
172 * 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
|
173 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
174 2005-10-26 Nick Garnett <nickg@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
175 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
176 * include/flash.h (cyg_io_flash_getconfig_lock_t) |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
177 (cyg_io_flash_getconfig_unlock_t): Added these aliases for |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
178 cyg_io_flash_getconfig_erase_t. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
179 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
180 * cdl/io_flash.cdl: Added configury to control compilation of |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
181 flash1 test. Added flashdev test. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
182 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
183 * 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
|
184 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
185 * src/flashiodev.c (flashiodev_get_config): Added support for lock |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
186 and unlock operations. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
187 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
188 * 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
|
189 device. Functionally it is similar to the flash1 test. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
190 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
191 * tests/flash1.c : Changed test for legacy API. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
192 (cyg_start): Added tests for lock and unlock functions. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
193 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
194 2005-09-28 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
195 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
196 * src/flash.c (flash_sort_and_check): Allow for Flash |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
197 device initialisation to fail, and thus not put this device |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
198 on the Flash device list. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
199 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
200 2005-09-26 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
201 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
202 * 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
|
203 some problems when performing soft resets. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
204 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
205 2005-08-16 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
206 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
207 * 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
|
208 very useful for this function. |
|
2142
a7557f72de47
* src/flash.c (flash_init): Allow repeat calls change the function
asl
parents:
2055
diff
changeset
|
209 |
| 2055 | 210 2005-08-02 Andrew Lunn <andrew.lunn@ascom.ch> |
| 211 | |
| 212 * tests/flash1.c (cyg_start): Compiler warning fixes. | |
| 213 | |
|
2626
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
214 2005-05-27 Jonathan Larmour <jifl@eCosCentric.com> |
|
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 * tests/flash1.c (cyg_start): Call CYG_TEST_INIT(). |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
217 |
|
1928
5445c3413b0f
* tests/flash1.c: Fixed compiler warning with diag_printf.
asl
parents:
1745
diff
changeset
|
218 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch> |
|
5445c3413b0f
* tests/flash1.c: Fixed compiler warning with diag_printf.
asl
parents:
1745
diff
changeset
|
219 |
|
5445c3413b0f
* tests/flash1.c: Fixed compiler warning with diag_printf.
asl
parents:
1745
diff
changeset
|
220 * tests/flash1.c: Fixed compiler warning with diag_printf. |
|
5445c3413b0f
* tests/flash1.c: Fixed compiler warning with diag_printf.
asl
parents:
1745
diff
changeset
|
221 |
|
2626
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
222 2005-02-28 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
223 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
224 * include/flash.h: Getconfig/setconfig definitions are relevant for |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
225 both new and legacy block device support. |
|
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 2005-01-28 Nick Garnett <nickg@ecoscentric.com> |
|
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 * 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
|
230 flash device field. Otherwise drivers try to call an invalid |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
231 address. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
232 (legacy_flash_program): The last argument to flash_program_buf() |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
233 is not the block size but the programming buffer size. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
234 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
235 2005-01-21 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
236 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
237 * doc/flash.sgml: Document Flash block devices. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
238 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
239 2005-01-19 Jonathan Larmour <jifl@eCosCentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
240 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
241 * src/flashiodev.c: Redesign to use more flexible flash names. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
242 * src/flashiodevlegacy.c: Previous version of flashiodev.c renamed |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
243 to this. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
244 * cdl/io_flash.cdl: Support new flashiodev design. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
245 * include/flash.h: don't double indirect err_address address |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
246 pointer in cyg_io_flash_getconfig_erase_t. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
247 * 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
|
248 supplied them and they're not needed. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
249 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
250 * src/legacy_api.c (flash_errmsg): Was missing. Add. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
251 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
252 * tests/flash1.c (cyg_start): Silence warning. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
253 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
254 2004-12-02 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
255 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
256 * include/flash_dev.h: now provides everything needed by flash |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
257 device drivers. |
|
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 * include/flash_priv.h: removed, subsumed by flash_dev.h |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
260 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
261 * include/flash.h, src/flash.c, src/flashiodev.c, |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
262 src/legacy_api.c, src/legacy_dev.c: |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
263 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
|
264 #include's of <cyg/io/flash_dev.h> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
265 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
266 2004-11-29 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
267 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
268 * 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
|
269 hwr_map_error() from V2 drivers |
|
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 * 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
|
272 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
|
273 which do not support/need this functionality. Export the |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
274 anonymizer function. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
275 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
276 2004-11-28 John Dallaway <jld@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
277 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
278 * doc/flash.sgml: Fix minor SGML tag problems. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
279 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
280 2004-11-28 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
281 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
282 * 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
|
283 resulted in init failure if only one device initialized. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
284 (cyg_flash_get_info): handle per-device init flag |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
285 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
286 2004-11-25 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
287 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
288 * 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
|
289 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
|
290 list if its empty or only has one entry. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
291 * 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
|
292 don't both checking the init flag. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
293 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
294 2004-11-24 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
295 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
296 * 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
|
297 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
|
298 of the cache and interrupts themselves. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
299 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
300 * 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
|
301 being used. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
302 * Merge from flash V2 branch |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
303 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
304 2004-11-22 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
305 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
306 * src/legacy_dev.c: remove .2ram attributes. These functions do |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
307 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
|
308 ram rather than flash |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
309 * 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
|
310 between the generic flash code and the device drivers |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
311 * include/flash_priv, src/flash_legacy.h, src/flash.c, |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
312 src/legacy_dev.c: move cache stuff andother legacy macros |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
313 to an internal header. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
314 * include/flash.h, include/flash_priv.h, doc/flash.sgml, |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
315 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
|
316 and rename cyg_block_info to cyg_flash_block_info |
|
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-11-21 Bart Veer <bartv@ecoscentric.com> |
|
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/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
|
321 for the case of a single flash device. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
322 * include/flash.h, src/flash.c, doc/flash.sgml: remove |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
323 cyg_flash_code_overlaps() |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
324 * include/flash_priv.h, include/flash.h: |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
325 CYGSEM_IO_FLASH_LEGACY_DEVICE_API has been removed, test |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
326 CYGHWR_IO_FLASH_DEVICE_LEGACY instead |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
327 * cdl/io_flash.cdl: lots of clean-ups |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
328 * 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
|
329 underlying legacy driver required indirect reads. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
330 * src/flash.c: encapsulate various optional bits of code in |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
331 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
|
332 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
333 2004-11-20 Bart Veer <bartv@ecoscentric.com> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
334 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
335 * 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
|
336 for hardware which requires indirect reads, and suppress |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
337 unnecessary code if direct reads are always available. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
338 * src/flash.c: rearrange loops to avoid address comparisons, which |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
339 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
|
340 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
341 2004-10-06 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 * 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
|
344 the start. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
345 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
346 2004-09-30 Savin Zlobec <savin@elatec.si> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
347 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
348 * 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
|
349 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
|
350 * src/legacy_dev.c (legacy_flash_read): Fixed typo. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
351 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
352 2004-09-14 Andrew Lunn <andrew.lunn@ascom.ch> |
|
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 * 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
|
355 end address matches the block information. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
356 * 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
|
357 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
|
358 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
359 2004-09-09 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
360 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
361 * src/flash.c: Support flash blocks of arbitary size. The |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
362 DataFlash devices for example have block of 528 bytes. |
|
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 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
365 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
366 * removed the functions cyg_flash_get_limits and |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
367 cyg_flash_get_block_info. Reimplemented the legacy functions |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
368 that depended on them and flashiodev.c |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
369 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
370 2004-08-19 Andrew Lunn <andrew.lunn@ascom.ch> |
|
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 * 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
|
373 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
|
374 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
|
375 exist in FIS. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
376 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
377 2004-08-13 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
378 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
379 * 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
|
380 warnings. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
381 * src/flashiodev.c (flashiodev_lookup): Only initialize the device |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
382 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
|
383 This stopped redboots mount -f working. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
384 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
385 2004-08-09 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
386 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
387 * src/flashiodev.c (flashiodev_lookup): Moved most of the |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
388 flashiodev_init into this new function. This fixed the ordering |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
389 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
|
390 flashiodev_init, redboot was not yet nitialised so lookup |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
391 failed. Moving this into flashiodev_lookup solves this problem. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
392 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
|
393 -d /dev/flash1. |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
394 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
395 2004-08-06 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
396 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
397 * src/flashiodev.c: Fix typo in macro and configuration options |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
398 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
399 2004-08-05 Andrew Lunn <andrew.lunn@ascom.ch> |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
400 |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
401 * src/flash.c: Major rewrite to implement a new API |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
402 * src/legacy_api.c: Support the legacy API |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
403 * src/legacy_drv.c: Support the legacy driver API |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
404 * src/flashiodev.c: Support the new API and multiple devices |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
405 * include/flash_priv.h: Interface devices should use |
|
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
406 * 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
|
407 |
| 1745 | 408 2004-09-05 Mark Salter <msalter@redhat.com> |
| 409 | |
| 410 * doc/flash.sgml: Fix unbalanced <PARA>s. | |
| 411 | |
| 1732 | 412 2004-08-24 Gary Thomas <gary@mlbassoc.com> |
| 413 | |
| 414 * cdl/io_flash.cdl: | |
| 415 * tests/flash1.c: Add simple test of FLASH driver. | |
| 416 | |
| 1674 | 417 2004-06-20 Andrew Lunn <andrew.lunn@ascom.ch> |
| 418 | |
|
1675
e1d094896914
Don't check if the flash is write protected before performing a read.
asl
parents:
1674
diff
changeset
|
419 * 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
|
420 protected before performing a read. |
| 1674 | 421 * doc/flash.sgml |
| 422 * cdl/io_flash.cdl: Added documentation of the FLASH API | |
| 423 | |
|
1615
5118f42e7e62
* src/flashiodev.c: When checking flash upper bound, allow for end
jlarmour
parents:
1411
diff
changeset
|
424 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
|
425 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
|
426 |
|
5118f42e7e62
* src/flashiodev.c: When checking flash upper bound, allow for end
jlarmour
parents:
1411
diff
changeset
|
427 * 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
|
428 of flash at 0xffffffff. |
|
5118f42e7e62
* src/flashiodev.c: When checking flash upper bound, allow for end
jlarmour
parents:
1411
diff
changeset
|
429 |
|
1411
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
1400
diff
changeset
|
430 2003-11-27 David Woodhouse <dwmw2@infradead.org> |
|
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
1400
diff
changeset
|
431 |
|
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
1400
diff
changeset
|
432 * src/flashiodev.c: Enable set_config() and implement |
|
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
1400
diff
changeset
|
433 CYG_IO_SET_CONFIG_FLASH_FIS_NAME. |
|
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
1400
diff
changeset
|
434 |
| 1400 | 435 2003-11-25 Andrew Lunn <andrew.lunn@ascom.ch> |
| 436 | |
| 437 * src/flash.c: gcc 3.x vs gcc 2.x problems. | |
| 438 | |
| 1394 | 439 2003-11-24 Jani Monoses <jani@iv.ro> |
| 440 | |
| 441 * cdl/io_flash.cdl: | |
| 442 * include/flash.h: Remove CYGNUM_FLASH_WORKSPACE_SIZE cdl option. | |
| 443 | |
|
2626
a2f5434df2cb
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2142
diff
changeset
|
444 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
|
445 |
|
c1f61c891552
* src/flashiodev.c (flashiodev_bwrite): Use flash_read rather than
asl
parents:
1389
diff
changeset
|
446 * 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
|
447 directly doing a memcpy. |
|
c1f61c891552
* src/flashiodev.c (flashiodev_bwrite): Use flash_read rather than
asl
parents:
1389
diff
changeset
|
448 |
| 1389 | 449 2003-11-20 Jani Monoses <jani@iv.ro> |
| 450 | |
| 451 * src/flash.c: | |
| 452 * src/flashiodev.c: | |
| 453 * include/flash.h: Remove references to work_space and work_space_size | |
| 454 since they are no longer used. | |
| 455 | |
| 1371 | 456 2003-11-20 Jani Monoses <jani@iv.ro> |
| 457 | |
| 458 * cdl/io_flash.cdl: | |
| 459 * src/flash.c: Remove handling of CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM | |
| 460 now that all flash drivers use ELF sections to specify which parts | |
| 461 go in RAM. | |
| 462 | |
| 1290 | 463 2003-10-08 Roland Cassebohm <roland.cassebohm@visionsystems.de> |
| 464 | |
| 465 * src/flash.c: Fix parse error if CYGSEM_IO_FLASH_READ_INDIRECT | |
| 466 is not defined. | |
| 467 | |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
944
diff
changeset
|
468 2003-09-19 Gary Thomas <gary@mlbassoc.com> |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
944
diff
changeset
|
469 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
944
diff
changeset
|
470 * src/flash.c: |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
944
diff
changeset
|
471 * include/flash.h: |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
944
diff
changeset
|
472 * 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
|
473 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
|
474 |
|
944
f493618bc252
* include/flash_dev.h: Include <cyg/infra/cyg_type.h>
jlarmour
parents:
842
diff
changeset
|
475 2003-04-14 Jani Monoses <jani@iv.ro> |
|
f493618bc252
* include/flash_dev.h: Include <cyg/infra/cyg_type.h>
jlarmour
parents:
842
diff
changeset
|
476 |
|
f493618bc252
* include/flash_dev.h: Include <cyg/infra/cyg_type.h>
jlarmour
parents:
842
diff
changeset
|
477 * 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
|
478 |
| 842 | 479 2003-03-19 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 480 | |
| 481 * src/flashiodev.c: Fixed trivial error. | |
| 482 | |
|
791
a2dfa8bf3c57
Export RedBoot FIS functions - from Knud Woehler <knud.woehler@microplex.de>
gthomas
parents:
713
diff
changeset
|
483 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
|
484 |
|
a2dfa8bf3c57
Export RedBoot FIS functions - from Knud Woehler <knud.woehler@microplex.de>
gthomas
parents:
713
diff
changeset
|
485 * src/flashiodev.c: |
|
a2dfa8bf3c57
Export RedBoot FIS functions - from Knud Woehler <knud.woehler@microplex.de>
gthomas
parents:
713
diff
changeset
|
486 * 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
|
487 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
|
488 from the FIS table. |
|
a2dfa8bf3c57
Export RedBoot FIS functions - from Knud Woehler <knud.woehler@microplex.de>
gthomas
parents:
713
diff
changeset
|
489 |
|
713
769b19e0b086
* cdl/io_flash.cdl: Remove irrelevant doc link - default to top
jlarmour
parents:
210
diff
changeset
|
490 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
|
491 |
|
769b19e0b086
* cdl/io_flash.cdl: Remove irrelevant doc link - default to top
jlarmour
parents:
210
diff
changeset
|
492 * 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
|
493 level. |
|
769b19e0b086
* cdl/io_flash.cdl: Remove irrelevant doc link - default to top
jlarmour
parents:
210
diff
changeset
|
494 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
495 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
|
496 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
497 * 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
|
498 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
499 * 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
|
500 0x100000 for convenience. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
501 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
502 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
|
503 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
504 * 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
|
505 of the region of flash. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
506 * src/flashiodev.c: Use it. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
507 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
508 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
|
509 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
510 * 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
|
511 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
|
512 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
513 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
|
514 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
515 * 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
|
516 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
|
517 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
|
518 * 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
|
519 * 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
|
520 to configure the block devices. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
521 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
522 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
|
523 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
524 * 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
|
525 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
|
526 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
|
527 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
|
528 |
|
195
67850532eebb
Merge from eCos master repository on 2001-11-02-06:43:03-GMT
jlarmour
parents:
194
diff
changeset
|
529 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
|
530 |
|
67850532eebb
Merge from eCos master repository on 2001-11-02-06:43:03-GMT
jlarmour
parents:
194
diff
changeset
|
531 * 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
|
532 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
|
533 |
|
194
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
534 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
|
535 |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
536 * 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
|
537 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
|
538 |
|
191
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
539 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
|
540 |
|
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
541 * 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
|
542 |
|
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
543 * 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
|
544 functions. |
|
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
545 |
|
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
546 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
|
547 |
|
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
184
diff
changeset
|
548 * 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
|
549 |
|
184
022f1e506033
Merge from eCos master repository on 2001-10-02-17:59:22-BST
jlarmour
parents:
177
diff
changeset
|
550 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
|
551 |
|
022f1e506033
Merge from eCos master repository on 2001-10-02-17:59:22-BST
jlarmour
parents:
177
diff
changeset
|
552 * 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
|
553 |
|
177
4c750ce71ae3
Merge from eCos master repository on 2001-08-10-19:22:57-BST
jlarmour
parents:
174
diff
changeset
|
554 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
|
555 |
|
4c750ce71ae3
Merge from eCos master repository on 2001-08-10-19:22:57-BST
jlarmour
parents:
174
diff
changeset
|
556 * 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
|
557 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
|
558 * include/flash.h: Matching changes. |
|
4c750ce71ae3
Merge from eCos master repository on 2001-08-10-19:22:57-BST
jlarmour
parents:
174
diff
changeset
|
559 * src/flash.c: Matching changes. |
|
4c750ce71ae3
Merge from eCos master repository on 2001-08-10-19:22:57-BST
jlarmour
parents:
174
diff
changeset
|
560 |
|
174
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
561 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
|
562 |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
563 * 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
|
564 * include/flash.h: Ditto. |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
565 * 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
|
566 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
|
567 cross-block data chunks. |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
568 |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
569 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
|
570 |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
571 * include/flash.h: |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
572 * 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
|
573 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
|
574 |
|
172
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
163
diff
changeset
|
575 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
|
576 |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
163
diff
changeset
|
577 * include/flash.h: |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
163
diff
changeset
|
578 * 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
|
579 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
|
580 |
|
163
0d2b193a635f
Merge from eCos master repository on 2001-06-22-17:38:39-BST
jlarmour
parents:
162
diff
changeset
|
581 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
|
582 |
|
0d2b193a635f
Merge from eCos master repository on 2001-06-22-17:38:39-BST
jlarmour
parents:
162
diff
changeset
|
583 * 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
|
584 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
|
585 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
|
586 |
|
0d2b193a635f
Merge from eCos master repository on 2001-06-22-17:38:39-BST
jlarmour
parents:
162
diff
changeset
|
587 (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
|
588 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
|
589 |
|
162
2395031e7a66
Merge from eCos master repository on 2001-06-15-06:43:03-BST
jlarmour
parents:
160
diff
changeset
|
590 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
|
591 |
|
2395031e7a66
Merge from eCos master repository on 2001-06-15-06:43:03-BST
jlarmour
parents:
160
diff
changeset
|
592 * src/flash.c: |
|
2395031e7a66
Merge from eCos master repository on 2001-06-15-06:43:03-BST
jlarmour
parents:
160
diff
changeset
|
593 * 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
|
594 |
|
160
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
595 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
|
596 |
|
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
597 * 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
|
598 |
|
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
599 * 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
|
600 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
|
601 |
|
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
602 * 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
|
603 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
|
604 |
|
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
605 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
|
606 |
|
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
157
diff
changeset
|
607 * 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
|
608 |
|
157
b65ec671dd4c
Merge from eCos master repository on 2001-04-06-18:28:36-BST
jlarmour
parents:
156
diff
changeset
|
609 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
|
610 |
|
b65ec671dd4c
Merge from eCos master repository on 2001-04-06-18:28:36-BST
jlarmour
parents:
156
diff
changeset
|
611 * 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
|
612 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
|
613 programming. |
|
b65ec671dd4c
Merge from eCos master repository on 2001-04-06-18:28:36-BST
jlarmour
parents:
156
diff
changeset
|
614 * 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
|
615 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
|
616 |
|
156
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
617 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
|
618 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
619 * 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
|
620 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
621 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
|
622 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
623 * 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
|
624 * 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
|
625 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
626 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
|
627 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
628 * src/flash.c (flash_program): |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
629 * 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
|
630 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
|
631 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
632 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
|
633 |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
634 * src/flash.c: |
|
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
635 * 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
|
636 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
|
637 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
|
638 |
|
154
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
639 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
|
640 |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
641 * 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
|
642 (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
|
643 |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
644 * 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
|
645 jumps instead of branches. |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
646 |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
647 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
|
648 |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
649 * 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
|
650 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
|
651 |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
652 * 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
|
653 * 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
|
654 * 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
|
655 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
|
656 instead of copying it around. |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
657 (__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
|
658 |
|
151
25e238959bae
Merge from eCos master repository on 2001-02-12-23:44:24-GMT
jlarmour
parents:
143
diff
changeset
|
659 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
|
660 |
|
25e238959bae
Merge from eCos master repository on 2001-02-12-23:44:24-GMT
jlarmour
parents:
143
diff
changeset
|
661 * 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
|
662 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
|
663 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
|
664 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
|
665 |
|
143
6b5f480c6929
Merge from eCos master repository on 2000-12-08-02:09:36-GMT
jlarmour
parents:
141
diff
changeset
|
666 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
|
667 |
|
6b5f480c6929
Merge from eCos master repository on 2000-12-08-02:09:36-GMT
jlarmour
parents:
141
diff
changeset
|
668 * 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
|
669 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
|
670 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
|
671 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
|
672 |
|
6b5f480c6929
Merge from eCos master repository on 2000-12-08-02:09:36-GMT
jlarmour
parents:
141
diff
changeset
|
673 * 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
|
674 |
|
141
450e4e1f1e80
Merge from eCos master repository on 2000-11-27-23:09:27-GMT
jlarmour
parents:
136
diff
changeset
|
675 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
|
676 |
|
450e4e1f1e80
Merge from eCos master repository on 2000-11-27-23:09:27-GMT
jlarmour
parents:
136
diff
changeset
|
677 * 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
|
678 cache-controlled region. |
|
450e4e1f1e80
Merge from eCos master repository on 2000-11-27-23:09:27-GMT
jlarmour
parents:
136
diff
changeset
|
679 * include/flash.h: Cache definitions. |
|
450e4e1f1e80
Merge from eCos master repository on 2000-11-27-23:09:27-GMT
jlarmour
parents:
136
diff
changeset
|
680 |
|
136
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
121
diff
changeset
|
681 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
|
682 |
|
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
121
diff
changeset
|
683 * 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
|
684 |
|
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
121
diff
changeset
|
685 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
|
686 |
|
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
121
diff
changeset
|
687 * 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
|
688 * include/flash.h: Same. |
|
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
121
diff
changeset
|
689 |
|
121
6bd9d475ed4b
Merge from eCos master repository on 2000-09-04-20:50:20-BST
jlarmour
parents:
119
diff
changeset
|
690 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
|
691 |
|
6bd9d475ed4b
Merge from eCos master repository on 2000-09-04-20:50:20-BST
jlarmour
parents:
119
diff
changeset
|
692 * include/flash.h: |
|
6bd9d475ed4b
Merge from eCos master repository on 2000-09-04-20:50:20-BST
jlarmour
parents:
119
diff
changeset
|
693 * 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
|
694 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
|
695 |
|
119
77cec8369160
Merge from eCos master repository on 2000-09-01-07:47:03-BST
jlarmour
parents:
117
diff
changeset
|
696 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
|
697 |
|
77cec8369160
Merge from eCos master repository on 2000-09-01-07:47:03-BST
jlarmour
parents:
117
diff
changeset
|
698 * src/flash.c: |
|
77cec8369160
Merge from eCos master repository on 2000-09-01-07:47:03-BST
jlarmour
parents:
117
diff
changeset
|
699 * include/flash.h: |
|
77cec8369160
Merge from eCos master repository on 2000-09-01-07:47:03-BST
jlarmour
parents:
117
diff
changeset
|
700 * 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
|
701 |
|
117
bd1a71e3e476
Merge from eCos master repository on 2000-08-25-19:22:58-BST
jlarmour
parents:
115
diff
changeset
|
702 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
|
703 |
|
bd1a71e3e476
Merge from eCos master repository on 2000-08-25-19:22:58-BST
jlarmour
parents:
115
diff
changeset
|
704 * 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
|
705 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
|
706 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
|
707 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
|
708 |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
709 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
|
710 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
711 * 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
|
712 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
713 * 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
|
714 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
715 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
|
716 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
717 * include/flash.h: |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
718 * 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
|
719 (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
|
720 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
721 //=========================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
722 // ####GPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
723 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
724 // This file is part of eCos, the Embedded Configurable Operating System. |
|
3111
46eea1e1d1b0
* doc/flash.sgml: Fix cyg_flash_get_into_addr() function name. Issue
jld
parents:
3028
diff
changeset
|
725 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
726 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
727 // 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
|
728 // 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
|
729 // 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
|
730 // later version. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
195
diff
changeset
|
731 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
732 // 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
|
733 // 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
|
734 // 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
|
735 // 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
|
736 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
737 // 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
|
738 // 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
|
739 // 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
|
740 // 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
|
741 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2658
diff
changeset
|
742 // ####GPLCOPYRIGHTEND#### |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
743 //=========================================================================== |
