This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch fixes bad sector count for AT45DB642 dataflash device


Attached is a patch to

ecos/packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c

to correct bad sector count for AT45DB642 dataflash device.

BTW - Perhaps the CDL file for the dataflash driver should also be
changed at this time. Maybe "parent CYGPKG_IO_FLASH" should be added.

-- 
+---------------------------------------------
| Daniel Helgason <dhelgason@shaw.ca>
--- a/ecos/packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c
+++ b/ecos/packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c
@@ -172,7 +172,7 @@
                         32, 32, 32, 32, 32, 32, 32, 32,
                         32, 32, 32, 32, 32, 32, 32, 32,
                         32, 32, 32, 32, 32, 32, 32, 32, 32 },
-        sector_count: 35
+        sector_count: 33
     },
     { 0 }
 };

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]