annotate packages/devs/flash/intel/stratav2/current/ChangeLog @ 1754:6a1e54eaaac8

Update following changes to the flash device driver interface
author bartv
date Mon, 22 Nov 2004 20:17:05 +0000
parents 80232dbac7fb
children af5ce7899d45
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1749
80232dbac7fb Flash API clean-ups
bartv
parents: 1745
diff changeset
1 2004-11-22 Bart Veer <bartv@ecoscentric.com>
80232dbac7fb Flash API clean-ups
bartv
parents: 1745
diff changeset
2
1754
6a1e54eaaac8 Update following changes to the flash device driver interface
bartv
parents: 1749
diff changeset
3 * include/flash_strata_v2.inl: adjust const parameters as per
6a1e54eaaac8 Update following changes to the flash device driver interface
bartv
parents: 1749
diff changeset
4 change to generic flash package
1749
80232dbac7fb Flash API clean-ups
bartv
parents: 1745
diff changeset
5 * include/flash_strata_v2.inl: rename cyg_block_info to
80232dbac7fb Flash API clean-ups
bartv
parents: 1745
diff changeset
6 cyg_flash_block_info
80232dbac7fb Flash API clean-ups
bartv
parents: 1745
diff changeset
7
1745
49e24a462730 Clean up flash configury
bartv
parents: 1726
diff changeset
8 2004-11-21 Bart Veer <bartv@ecoscentric.com>
49e24a462730 Clean up flash configury
bartv
parents: 1726
diff changeset
9
49e24a462730 Clean up flash configury
bartv
parents: 1726
diff changeset
10 * cdl/flash_strata_v2.cdl: CYGHWR_IO_FLASH_DEVICE_V2 is now
49e24a462730 Clean up flash configury
bartv
parents: 1726
diff changeset
11 implicit
49e24a462730 Clean up flash configury
bartv
parents: 1726
diff changeset
12
1726
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
13 2004-09-14 Andrew Lunn <andrew.lunn@ascom.ch>
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
14
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
15 * include/flash_strata_v2.inl: Return the end address which is the
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
16 last valid address, not the first invalid address.
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
17 Also import Mark Salters changes from the trunk.
d2486ee206e4 * include/flash_strata_v2.inl: Return the end address which is the
asl
parents: 1718
diff changeset
18
1718
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
19 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
20
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
21 * include/flash_strata_v2.inl (flash_unlock_block):
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
22 * cdl/flash_strata_v2.cdl: CDL to control the maximum number of
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
23 blocks the driver supports. Some of the newer strata device has more
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
24 than the default maximum of 128. Problem pointed out by Kevin Zhang.
c8515e560548 2004-08-21 Andrew Lunn <andrew.lunn@ascom.ch>
asl
parents: 1716
diff changeset
25
1716
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
26 2004-08-13 Andrew Lunn <andrew.lunn@ascom.ch>
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
27
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
28 * cdl/flash_strata_v2.cdl: Indicate we implement
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
29 CYGHWR_IO_FLASH_BLOCK_LOCKING when
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
30 CYGOPT_DEVS_FLASH_STRATA_V2_LOCKING is enabled.
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
31 * include/flash_strata_v2.inl: Make block unlock and
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
32 lock compile.
e4f7f465ee77 * cdl/flash_strata_v2.cdl: Indicate we implement
asl
parents: 1709
diff changeset
33
1709
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
34 2004-08-05 Andrew Lunn <andrew.lunn@ascom.ch>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
35
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
36 * New version of the strata driver based on the old version. This
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
37 version uses the new flash device API.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
38
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
39 2005-01-26 Scott Wilkinson <scott@alliantnetworks.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
40 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
41 * src/strata.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
42 Flash from STMicro is compatible with the Intel strata chips,
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
43 so detect them as well. Check for manuf id 0x20.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
44
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
45 2003-10-29 Jonathan Larmour <jifl@eCosCentric.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
46
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
47 * src/flash_unlock_block.c (flash_unlock_block): test lock bit
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
48 explicitly - newer flash parts use the reserved bits in the
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
49 returned data.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
50
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
51 2003-09-11 Jani Monoses <jani@iv.ro>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
52
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
53 * src/flash_erase_block.c (flash_erase_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
54 * src/flash_program_buf.c (flash_program_buf): Fix bootblock handling
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
55 in erase. Fix erase and word-program for Synchronous Strata and later
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
56 chips where block address and word address are required in the first
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
57 cycle of the operation while for earlier parts any address was good.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
58
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
59 2003-09-10 Jani Monoses <jani@iv.ro>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
60
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
61 * cdl/flash_strata.cdl:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
62 * src/flash_lock_block.c (flash_lock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
63 * src/flash_unlock_block.c (flash_unlock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
64 * src/flash_erase_block.c (flash_erase_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
65 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
66 * src/flash_program_buf.c (flash_program_buf): Use .2ram sections
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
67 for putting flash functions to RAM instead of the old method.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
68
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
69 2003-05-02 Jani Monoses <jani@iv.ro>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
70
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
71 * src/strata.c: Switch to using generic flash_query_dev.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
72 The previous cache related changes broke flash_query for
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
73 Strata because in the query case the generic flash driver was not
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
74 called to handle the caches but the internal handling was removed
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
75 nevertheless.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
76
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
77 2003-04-04 Jani Monoses <jani@iv.ro>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
78
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
79 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
80 Use generic flash_dev.h for providing the FLASHWORD macro for
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
81 different widths and device numbers.No reason to duplicate that
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
82 here.This implicitely fixes the case when CYGNUM_FLASH_WIDTH is 16
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
83 and CYGNUM_FLASH_DEVICES is 4.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
84
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
85 2003-04-03 Jani Monoses <jani@iv.ro>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
86
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
87 * src/flash_lock_block.c (flash_lock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
88 * src/flash_unlock_block.c (flash_unlock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
89 * src/flash_erase_block.c (flash_erase_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
90 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
91 * src/flash_program_buf.c (flash_program_buf):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
92 Cache enabling and disabling are already handled by generic flash
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
93
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
94 2002-08-12 Mark Salter <msalter@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
95
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
96 * src/flash_unlock_block.c: Add synchronous strataflash support.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
97 * src/strata.h: Add comments regarding synchronous strataflash.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
98
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
99 2002-04-30 Christoph Csebits <christoph.csebits@frequentis.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
100
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
101 * src/flash_unlock_block.c: Getting the current block lock
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
102 state for flashes in 8-Bit mode is now working correctly.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
103
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
104 2002-04-16 Jonathan Larmour <jlarmour@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
105
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
106 * cdl/flash_strata.cdl: Invoke $(CC) with $(CFLAGS) to ensure the
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
107 correct flags are passed.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
108
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
109 2002-04-12 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
110
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
111 * src/strata.c: Clean up warnings.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
112
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
113 2002-01-22 Mark Salter <msalter@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
114
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
115 * cdl/flash_strata.cdl: Add ".text" before "_end" markers in .s files.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
116
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
117 2001-10-23 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
118
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
119 * cdl/flash_strata.cdl: Provide an option so that RedBoot .ecm
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
120 files can turn off the functionality of copying flash driver code
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
121 to separate RAM for execution; it's not needed for RAM and ROMRAM
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
122 startup, and for some platforms it is required to *not* copy thus.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
123
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
124 2001-08-25 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
125
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
126 * src/flash_program_buf.c (flash_program_buf): Allow configuration
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
127 specific code sequence for actual writing of data. Define by the
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
128 macro CYGHWR_FLASH_WRITE_ELEM. Note: this is required on some
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
129 hardware, like the Intel SA185, which handles flash writes in
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
130 strange/obscure fashion.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
131
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
132 2001-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
133
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
134 * src/flash_query.c (flash_query): Query needs to be done on even
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
135 addresses for byte-enabled strata flash
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
136
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
137 * src/flash_program_buf.c (flash_program_buf): Fix of conversion of
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
138 write buffer length (in bytes) to the length in 'flash_t' words.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
139
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
140 2001-06-22 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
141
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
142 * src/strata.c (flash_hwr_init): Need to refer to the query code
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
143 as extern char flash_query[], flash_query_end[]; (with the []) or
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
144 MIPS code gen assumes these are short offsets and linking fails.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
145 The generic flash code in io/flash already uses this idiom.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
146
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
147 2001-06-22 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
148
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
149 * src/strata.c (flash_hwr_init): Warnings reduced. No arithmetic
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
150 on void *.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
151
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
152 2001-06-21 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
153
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
154 * src/flash_program_buf.c (flash_program_buf): The buffered write
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
155 code didn't jump out if there was a write error, nor verify the
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
156 data by reading back. This isn't consistent with the slow case,
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
157 and made it take an age if the device is unhappy, and then report
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
158 a bizarre error code. Both issues fixed.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
159
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
160 2001-06-21 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
161
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
162 * src/strata.c (flash_hwr_init): If shrinking to fit, must also
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
163 adjust the flash_info.blocks field, else unlock crashes trying to
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
164 get status of all those extra blocks that we cannot actually see.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
165
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
166 2001-06-11 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
167
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
168 * src/strata.c: Remove dependency on printf() via user functions.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
169
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
170 2001-06-07 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
171
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
172 * src/strata.c (flash_hwr_init): If we find a flash device that is
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
173 larger than is possible given the memory map, shrink to fit.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
174 We know about the memory map from CYGNUM_FLASH_BASE_MASK (if
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
175 defined); it tells us the stride from one device to another.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
176
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
177 This is to cope with installing, say, a 28F640 in a slot designed
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
178 for a 28F320 because of supply issues - it all works fine so long
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
179 as A22 is grounded.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
180
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
181 2001-05-23 Jesper Skov <jskov@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
182
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
183 * cdl/flash_strata.cdl: Needs IO driver to copy functions to RAM.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
184
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
185 2001-04-26 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
186
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
187 * src/strata.c: Be more careful when enable/flush/disable caches.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
188
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
189 * src/flash_erase_block.c (flash_erase_block): Boot block devices
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
190 may require additional erase commands to erase entire 'block'.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
191
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
192 2001-03-21 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
193
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
194 * src/strata.h (FLASH_Write_Buffer): Do not define this if
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
195 CYGOPT_FLASH_IS_NOT_ADVANCED is defined; Advanced (xxxJ3) flash is
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
196 usual these days. Also added documentation of the options that
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
197 can be used to control this module.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
198
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
199 * src/flash_program_buf.c (flash_program_buf): Reduce warnings
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
200 about unused variables if no FLASH_Write_Buffer command available.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
201
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
202 2001-03-21 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
203
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
204 * src/flash_program_buf.c (flash_program_buf): Buffered write code
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
205 fixups, only on platforms with it defined.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
206
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
207 2001-03-17 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
208
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
209 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
210 * src/strata.c: Support buffered writes.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
211
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
212 * src/flash_program_buf.c: Use buffered writes if possible. This
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
213 mode allows the chip to do parallelized writes which is much faster.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
214 It does require additional information, now provided by upper layer.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
215
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
216 2001-02-15 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
217
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
218 * src/flash_query.c (flash_query): Depending on whether
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
219 CYGOPT_FLASH_IS_BOOTBLOCK (just a #define from the instantiator,
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
220 not really a cdl_option) is set, do the full Read_Query or just
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
221 acquire two codes for manufacturer and device type using Read_ID.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
222
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
223 * src/strata.c (flash_hwr_init): Again depending on whether
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
224 CYGOPT_FLASH_IS_BOOTBLOCK, decode the device type into a size and
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
225 so on, or use the full Read_Query data as before.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
226
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
227 * src/strata.h (FLASH_Read_ID): Undefine those commands which we
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
228 do not use. Conditionally define those that we use depending on
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
229 CYGOPT_FLASH_IS_BOOTBLOCK. Thus we should be able to deal with
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
230 StrataFlash and BootBlock flash with the same code.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
231
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
232 * cdl/flash_strata.cdl: Do not implement (in the CDL sense)
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
233 CYGHWR_IO_FLASH_BLOCK_LOCKING leave it up to the instantiating
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
234 package instead. Also move the build of the two objects that do
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
235 locking and unlocking into a compenent which is only active if
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
236 CYGHWR_IO_FLASH_BLOCK_LOCKING is indeed (requested to be)
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
237 implemented somewhere.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
238
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
239 2001-02-14 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
240
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
241 * devs/flash/intel/strata/...: New package, generic strataFlash
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
242 driver based on several others; a portion of its history
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
243 follows...
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
244
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
245 flash.h -> strata.h
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
246 flash<platform>.c -> strata.c
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
247
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
248 2001-02-06 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
249
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
250 * src/flash.h: Much more generic again. Not yet separated into
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
251 generic component and invocation header, but the structure is
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
252 there. Also included support for a mapping from the physical
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
253 flash address we're thinking of to the virtual address we use to
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
254 access it. More documentation. Generalization to 8,16,32 and
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
255 64-bit access, made up from 8,16 or 32-bit devices. Command and
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
256 status macros modified to accommodate these options.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
257
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
258 * src/flash_lock_block.c (flash_lock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
259 * src/flash_erase_block.c (flash_erase_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
260 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
261 * src/flash_program_buf.c (flash_program_buf):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
262 All now acquire when possible the ROM address from the block
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
263 address, and use the physical to virtual macro as needed.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
264
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
265 * src/flash_unlock_block.c (flash_unlock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
266 The same changes, but a little more complex because of the need to
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
267 clear-all then re-lock some semantics. Shadow pointer to virtual
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
268 address is used each time round the loop.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
269
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
270 * cdl/flash_strata.cdl: Add explicit dependencies on flash.h, for
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
271 there were none - or they were ignored - for the specially built
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
272 compilation units that get copied to RAM for execution.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
273
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
274 2001-02-01 Hugo Tyson <hmt@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
275
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
276 * all: copied from the assabet flash driver.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
277
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
278 2000-12-05 Jonathan Larmour <jlarmour@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
279
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
280 * src/assabet_flash.c (flash_code_overlaps): Define stext/etext
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
281 as array types so no assumptions can be made by the compiler about
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
282 location.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
283
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
284 2000-10-24 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
285
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
286 * src/flash_unlock_block.c (flash_unlock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
287 * src/flash_lock_block.c (flash_lock_block):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
288 * src/flash_program_buf.c (flash_program_buf):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
289 * src/flash_erase_block.c (flash_erase_block): Support up to 32M FLASH.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
290
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
291 2000-09-10 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
292
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
293 * src/flash_unlock_block.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
294 * src/flash_lock_block.c: New file(s).
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
295
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
296 * src/flash.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
297 * cdl/flash_assabet.cdl: Add region locking functions.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
298
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
299 2000-08-29 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
300
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
301 * src/assabet_flash.c: Improve error decoding.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
302
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
303 2000-08-24 Gary Thomas <gthomas@redhat.com>
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
304
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
305 * src/flash_query.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
306 * src/flash_erase_block.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
307 * src/flash.h: FLASH support for Intel SA1110 Assabet.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
308
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
309 //===========================================================================
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
310 //####ECOSGPLCOPYRIGHTBEGIN####
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
311 // -------------------------------------------
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
312 // This file is part of eCos, the Embedded Configurable Operating System.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
313 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
314 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
315 // eCos is free software; you can redistribute it and/or modify it under
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
316 // the terms of the GNU General Public License as published by the Free
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
317 // Software Foundation; either version 2 or (at your option) any later version.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
318 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
319 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
320 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
321 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
322 // for more details.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
323 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
324 // You should have received a copy of the GNU General Public License along
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
325 // with eCos; if not, write to the Free Software Foundation, Inc.,
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
326 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
327 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
328 // As a special exception, if other files instantiate templates or use macros
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
329 // or inline functions from this file, or you compile this file and link it
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
330 // with other works to produce a work based on this file, this file does not
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
331 // by itself cause the resulting work to be covered by the GNU General Public
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
332 // License. However the source code for this file must still be made available
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
333 // in accordance with section (3) of the GNU General Public License.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
334 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
335 // This exception does not invalidate any other reasons why a work based on
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
336 // this file might be covered by the GNU General Public License.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
337 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
338 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
339 // at http://sources.redhat.com/ecos/ecos-license/
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
340 // -------------------------------------------
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
341 //####ECOSGPLCOPYRIGHTEND####
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
342 //===========================================================================