From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26552 invoked by alias); 11 Dec 2007 14:38:34 -0000 Received: (qmail 26543 invoked by uid 22791); 11 Dec 2007 14:38:33 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.249) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Dec 2007 14:38:27 +0000 Received: by an-out-0708.google.com with SMTP id c25so436238ana for ; Tue, 11 Dec 2007 06:38:25 -0800 (PST) Received: by 10.100.232.13 with SMTP id e13mr17719318anh.1197383905653; Tue, 11 Dec 2007 06:38:25 -0800 (PST) Received: by 10.100.42.19 with HTTP; Tue, 11 Dec 2007 06:38:25 -0800 (PST) Message-ID: Date: Tue, 11 Dec 2007 14:38:00 -0000 From: "=?ISO-8859-1?Q?=D8yvind_Harboe?=" To: "Gary Thomas" Cc: "Andrew Lunn" , "eCos Disuss" In-Reply-To: <475E9DCB.3080902@mlbassoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20071211094252.GD30586@lunn.ch> <20071211100356.GF30586@lunn.ch> <20071211135137.GG30586@lunn.ch> <475E9DCB.3080902@mlbassoc.com> X-Google-Sender-Auth: ba854b116e07d1ce Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: Check for illegal address range in io/flash X-SW-Source: 2007-12/txt/msg00034.txt.bz2 > As I read the code, the "check" you are talking about is only to make > sure that the address [range] which gets printed makes sense. There is > similar code within the loop to handle the edge case where the FLASH > region being erased buts up against the top of possible address space. Gotit. I don't see the corresponding code in flash_program_buf(). The explanation above would be helpful in the code I think. --=20 =D8yvind Harboe http://www.zylin.com - eCos ARM & FPGA developer kit -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss