public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* Patch fixes bad "requires" constraint in io_flash.cdl
@ 2010-03-25 17:31 Daniel Helgason
  2010-03-25 20:21 ` Sergei Gavrikov
  2010-03-26  9:46 ` Sergei Gavrikov
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Helgason @ 2010-03-25 17:31 UTC (permalink / raw)
  To: ecos-patches

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

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>

[-- Attachment #2: io_flash.cdl.diff --]
[-- Type: text/x-patch, Size: 821 bytes --]

--- 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."

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-26  9:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-25 17:31 Patch fixes bad "requires" constraint in io_flash.cdl Daniel Helgason
2010-03-25 20:21 ` Sergei Gavrikov
2010-03-25 21:49   ` Daniel Helgason
2010-03-26  9:46 ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).