This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Patch fixes bad sector count for AT45DB642 dataflash device
- From: Daniel Helgason <dhelgason at shaw dot ca>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Thu, 25 Mar 2010 12:22:44 -0700
- Subject: 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 }
};