changeset 2942:00f713b93ea4

* src/devs_flash_atmel_dataflash.c: Correct bad sector count for AT45DB642 dataflash device. * cdl/devs_flash_atmel_dataflash.cdl: Mark CYGPKG_IO_FLASH as the parent of this package.
author sergeig
date Fri, 26 Mar 2010 09:21:38 +0000
parents a2b177b28c45
children b8ec40e0124b
files packages/devs/flash/atmel/dataflash/current/ChangeLog packages/devs/flash/atmel/dataflash/current/cdl/devs_flash_atmel_dataflash.cdl packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/atmel/dataflash/current/ChangeLog
+++ b/packages/devs/flash/atmel/dataflash/current/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-25  Daniel Helgason  <dhelgason@shaw.ca>
+
+	* src/devs_flash_atmel_dataflash.c: Correct bad sector count for
+	AT45DB642 dataflash device.
+	* cdl/devs_flash_atmel_dataflash.cdl: Mark CYGPKG_IO_FLASH as the
+	parent of this package.
+
 2005-06-29  Jani Monoses <ani@iv.ro>
 
 	* include/dataflash.h: Allow the package to be compiled without
--- a/packages/devs/flash/atmel/dataflash/current/cdl/devs_flash_atmel_dataflash.cdl
+++ b/packages/devs/flash/atmel/dataflash/current/cdl/devs_flash_atmel_dataflash.cdl
@@ -49,6 +49,7 @@
 cdl_package CYGPKG_DEVS_FLASH_ATMEL_DATAFLASH {
     display       "Atmel DataFlash parts support"
     description   "Support for Atmel DataFlash"
+    parent        CYGPKG_IO_FLASH
     active_if	  CYGPKG_IO_SPI
     requires      CYGPKG_ERROR    
     hardware
--- a/packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c
+++ b/packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c
@@ -172,7 +172,7 @@ static const cyg_dataflash_dev_info_t df
                         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 }
 };