changeset 2583:a75fc899d9d1

* cdl/flash_ea2468.cdl: Added some constraints to force flash entry size to <= 4096 bytes because the flash block size is 4096 bytes
author asl
date Tue, 04 Nov 2008 16:16:57 +0000
parents 4b00ee508a41
children 71f31d556765
files packages/devs/flash/arm/ea2468/current/ChangeLog packages/devs/flash/arm/ea2468/current/cdl/flash_ea2468.cdl
diffstat 2 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/arm/ea2468/current/ChangeLog
+++ b/packages/devs/flash/arm/ea2468/current/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-01  Uwe Kindler <uwe_kindler@web.de>
+
+	* cdl/flash_ea2468.cdl: Added some constraints to force flash
+	  entry size to <= 4096 bytes because the flash block size is 4096
+	  bytes
+
 2008-07-08  Uwe Kindler <uwe_kindler@web.de>
 
 	* src/flash_ea2468.c: 
@@ -31,9 +37,6 @@ 2008-07-08  Uwe Kindler <uwe_kindler@web
 //
 // This exception does not invalidate any other reasons why a work based on
 // this file might be covered by the GNU General Public License.
-//
-// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
-// at http://sources.redhat.com/ecos/ecos-license/
 // -------------------------------------------
 //####ECOSGPLCOPYRIGHTEND####
 //===========================================================================
--- a/packages/devs/flash/arm/ea2468/current/cdl/flash_ea2468.cdl
+++ b/packages/devs/flash/arm/ea2468/current/cdl/flash_ea2468.cdl
@@ -66,6 +66,10 @@ cdl_package CYGPKG_DEVS_FLASH_EA2468 {
     }
     
     implements CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED
+    requires   !CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
+    requires   CYGNUM_REDBOOT_FLASH_CONFIG_SIZE <= 4096
+    requires   {(CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE *
+                 CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_COUNT) <= 4096}
 }
 
-# EOF flash_ea2468.cdl
\ No newline at end of file
+# EOF flash_ea2468.cdl