annotate packages/devs/flash/intel/stratav2/current/ChangeLog @ 1709:57655b789e8a

* New version of the strata driver based on the old version. This version uses the new flash device API.
author asl
date Fri, 06 Aug 2004 11:15:15 +0000
parents
children e4f7f465ee77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1709
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
1 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
2
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
3 * 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
4 version uses the new flash device API.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
5
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
6 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
7 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
8 * src/strata.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
9 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
10 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
11
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
12 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
13
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
14 * 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
15 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
16 returned data.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
17
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
18 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
19
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
20 * 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
21 * 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
22 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
23 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
24 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
25
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
26 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
27
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
28 * cdl/flash_strata.cdl:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
29 * 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
30 * 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
31 * 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
32 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
33 * 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
34 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
35
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
36 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
37
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
38 * 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
39 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
40 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
41 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
42 nevertheless.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
43
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
44 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
45
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
46 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
47 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
48 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
49 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
50 and CYGNUM_FLASH_DEVICES is 4.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
51
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
52 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
53
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
54 * 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
55 * 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
56 * 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
57 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
58 * 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
59 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
60
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
61 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
62
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
63 * 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
64 * 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
65
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
66 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
67
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
68 * 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
69 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
70
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
71 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
72
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
73 * 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
74 correct flags are passed.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
75
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
76 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
77
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
78 * src/strata.c: Clean up warnings.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
79
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
80 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
81
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
82 * 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
83
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
84 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
85
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
86 * 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
87 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
88 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
89 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
90
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
91 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
92
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
93 * 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
94 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
95 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
96 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
97 strange/obscure fashion.
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 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
100
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
101 * 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
102 addresses for byte-enabled strata flash
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 * 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
105 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
106
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
107 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
108
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
109 * 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
110 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
111 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
112 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
113
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
114 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
115
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
116 * 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
117 on void *.
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 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
120
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
121 * 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
122 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
123 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
124 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
125 a bizarre error code. Both issues fixed.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
126
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
127 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
128
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
129 * 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
130 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
131 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
132
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
133 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
134
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
135 * 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
136
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
137 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
138
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
139 * 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
140 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
141 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
142 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
143
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
144 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
145 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
146 as A22 is grounded.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
147
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
148 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
149
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
150 * 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
151
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
152 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
153
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
154 * 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
155
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
156 * 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
157 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
158
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
159 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
160
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
161 * 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
162 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
163 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
164 can be used to control this module.
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 * 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
167 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
168
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
169 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
170
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
171 * 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
172 fixups, only on platforms with it defined.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
173
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
174 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
175
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
176 * src/strata.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
177 * src/strata.c: Support buffered writes.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
178
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
179 * 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
180 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
181 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
182
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
183 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
184
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
185 * 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
186 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
187 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
188 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
189
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
190 * 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
191 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
192 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
193
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
194 * 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
195 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
196 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
197 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
198
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
199 * 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
200 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
201 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
202 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
203 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
204 implemented somewhere.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
205
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
206 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
207
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
208 * 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
209 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
210 follows...
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 flash.h -> strata.h
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
213 flash<platform>.c -> strata.c
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
214
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
215 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
216
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
217 * 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
218 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
219 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
220 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
221 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
222 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
223 status macros modified to accommodate these options.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
224
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
225 * 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
226 * 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
227 * src/flash_query.c (flash_query):
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
228 * 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
229 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
230 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
231
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
232 * 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
233 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
234 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
235 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
236
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
237 * 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
238 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
239 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
240
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
241 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
242
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
243 * all: copied from the assabet flash driver.
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 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
246
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
247 * 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
248 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
249 location.
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
250
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
251 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
252
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
253 * 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
254 * 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
255 * 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
256 * 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
257
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
258 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
259
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
260 * src/flash_unlock_block.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
261 * 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
262
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
263 * src/flash.h:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
264 * 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
265
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
266 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
267
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
268 * src/assabet_flash.c: Improve error decoding.
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 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
271
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
272 * src/flash_query.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
273 * src/flash_erase_block.c:
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
274 * 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
275
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
276 //===========================================================================
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
277 //####ECOSGPLCOPYRIGHTBEGIN####
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
278 // -------------------------------------------
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
279 // 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
280 // 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
281 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
282 // 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
283 // 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
284 // 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
285 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
286 // 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
287 // 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
288 // 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
289 // for more details.
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 // 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
292 // 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
293 // 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
294 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
295 // 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
296 // 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
297 // 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
298 // 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
299 // 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
300 // 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
301 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
302 // 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
303 // 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
304 //
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
305 // 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
306 // 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
307 // -------------------------------------------
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
308 //####ECOSGPLCOPYRIGHTEND####
57655b789e8a * New version of the strata driver based on the old version. This
asl
parents:
diff changeset
309 //===========================================================================