This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
FLASH - Fix data type
- From: Gary Thomas <gary at chez-thomas dot org>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 24 Jul 2002 07:06:33 -0600
- Subject: FLASH - Fix data type
Index: devs/flash/amd/am29xxxxx/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v
retrieving revision 1.13
diff -u -5 -p -r1.13 ChangeLog
--- devs/flash/amd/am29xxxxx/current/ChangeLog 20 Jun 2002 23:08:04 -0000 1.13
+++ devs/flash/amd/am29xxxxx/current/ChangeLog 24 Jul 2002 13:04:41 -0000
@@ -1,5 +1,11 @@
+2002-07-24 Gary Thomas <gary@chez-thomas.org>
+2002-07-24 Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
+
+ * include/flash_am29xxxxx.inl (_flash_program_buf): Fix data
+ type for 'state' - needs to be flash_data_t.
+
2002-06-20 Gary Thomas <gary@chez-thomas.org>
* include/flash_am29xxxxx.inl: Add cache disable/enable code
since this is required on most platforms.
Index: devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl,v
retrieving revision 1.12
diff -u -5 -p -r1.12 flash_am29xxxxx.inl
--- devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl 20 Jun 2002 23:08:06 -0000 1.12
+++ devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl 24 Jul 2002 13:04:43 -0000
@@ -444,11 +444,11 @@ _flash_program_buf(void* addr, void* dat
f_s1 = FLASH_P2V(BANK + FLASH_Setup_Addr1);
f_s2 = FLASH_P2V(BANK + FLASH_Setup_Addr2);
while (len > 0) {
- int state;
+ flash_data_t state;
addr_v = FLASH_P2V(addr_p++);
// Program data [byte] - 4 step sequence
*f_s1 = FLASH_Setup_Code1;