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 "requires" constraint in io_flash.cdl


Attached is a patch to

ecos/packages/io/flash/current/cdl/io_flash.cdl

to fix bad "requires" constraint on CYGNUM_IO_FLASH_BLOCK_OFFSET_n in
io_flash.cdl file.

In the current version, it is not possible to position a block device at
offset 0 in the flash using "Static configuration via offset" option.

-- 
+---------------------------------------------
| Daniel Helgason <dhelgason@shaw.ca>
--- a/packages/io/flash/current/cdl/io_flash.cdl
+++ b/packages/io/flash/current/cdl/io_flash.cdl
@@ -219,7 +219,7 @@
         default_value    1
         compile          legacy_api.c
         description      "
-            Provide an implementation of the lagacy user API. This is mapped 
+            Provide an implementation of the legacy user API. This is mapped
             onto the new API via a small layer of code"
     }
         
@@ -283,7 +283,7 @@
 			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."

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