changeset 2943:b8ec40e0124b

* cdl/io_flash.cdl: Fix "requires" constraint on CYGNUM_IO_FLASH_BLOCK_OFFSET_n to allow positioning of block device at offset 0 in flash when using static configuration via offset. Fix display string for CYGSEM_IO_FLASH_LEGACY_API option.
author sergeig
date Fri, 26 Mar 2010 09:41:45 +0000
parents 00f713b93ea4
children f5ae5af1e5f8
files packages/io/flash/current/ChangeLog packages/io/flash/current/cdl/io_flash.cdl
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/flash/current/ChangeLog
+++ b/packages/io/flash/current/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-25  Daniel Helgason  <dhelgason@shaw.ca>
+
+	* cdl/io_flash.cdl: Fix "requires" constraint on
+	CYGNUM_IO_FLASH_BLOCK_OFFSET_n to allow positioning of block
+	device at offset 0 in flash when using static configuration via
+	offset.  Fix display string for CYGSEM_IO_FLASH_LEGACY_API option.
+
 2010-01-17  John Dallaway  <john@dallaway.org.uk>
 
 	* src/flashiodevlegacy.c: Specify flash block device lengths correctly
--- a/packages/io/flash/current/cdl/io_flash.cdl
+++ b/packages/io/flash/current/cdl/io_flash.cdl
@@ -283,7 +283,7 @@ cdl_package CYGPKG_IO_FLASH {
 			display         "Length"
 			flavor          data
 			default_value   0
-			requires        0 != CYGNUM_IO_FLASH_BLOCK_OFFSET_$::dev
+			requires        0 != CYGNUM_IO_FLASH_BLOCK_LENGTH_$::dev
 			description     "
                             This gives the length of the region of flash given over
                             to this block device."