From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7659 invoked by alias); 25 Mar 2010 17:31:58 -0000 Received: (qmail 7640 invoked by uid 22791); 25 Mar 2010 17:31:57 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from idcmail-mo2no.shaw.ca (HELO idcmail-mo2no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Mar 2010 17:31:52 +0000 Received: from pd6ml3no-ssvc.prod.shaw.ca ([10.0.153.149]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 25 Mar 2010 11:31:50 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=hzhRQbTIuwQA:10 a=VphdPIyG4kEA:10 a=MAWBuv+Rva4qgljfr6z1+w==:17 a=dMYG-1AdR3w5TMttyPIA:9 a=fHhRZFcaolplKKD9QGZF5EaE2T0A:4 a=C-al3cStqB23nETUB5UA:9 a=GDd-FAQs_NQnDJJLVb6dQEzJcg4A:4 a=QEXdDO2ut3YA:10 a=5mzYSem6DesIRQqM:21 a=S4xutXlsLuf0zSA2:21 Received: from unknown (HELO [192.168.1.126]) ([24.84.208.203]) by pd6ml3no-dmz.prod.shaw.ca with ESMTP; 25 Mar 2010 11:31:50 -0600 Subject: Patch fixes bad "requires" constraint in io_flash.cdl From: Daniel Helgason To: ecos-patches@ecos.sourceware.org Content-Type: multipart/mixed; boundary="=-lujgb0kO9/HI0+LfRiAS" Date: Thu, 25 Mar 2010 17:31:00 -0000 Message-Id: <1269538310.3043.10.camel@localhost.localdomain> Mime-Version: 1.0 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-03/txt/msg00003.txt.bz2 --=-lujgb0kO9/HI0+LfRiAS Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 396 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 --=-lujgb0kO9/HI0+LfRiAS Content-Disposition: attachment; filename=io_flash.cdl.diff Content-Type: text/x-patch; name=io_flash.cdl.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 821 --- 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." --=-lujgb0kO9/HI0+LfRiAS--