From: Scott Wood Date: Thu, 9 Sep 2010 15:55:46 -0500 Subject: [U-Boot] [PATCH 1/5] nand util: read/write: accept unaligned length In-Reply-To: <20100830230327.GA27768@schlenkerla.am.freescale.net> References: <20100830230327.GA27768@schlenkerla.am.freescale.net> Message-ID: <20100909155546.5c503ae7@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 30 Aug 2010 18:03:28 -0500 Scott Wood wrote: > The underlying code in nand_base.c already supports non-page-aligned reads > and writes, but the block-skipping wrapper code did not. > > With block skipping, an unaligned start address is not useful since you > really want to be starting at the beginning of a partition -- or at least > that's where you want to start checking for blocks to skip, but we don't > (yet) support that. So we still require the start address to be aligned. > > An unaligned length, though, is useful for passing $filesize to the > read/write command, and handling it does not complicate block skipping. > > Signed-off-by: Scott Wood Applied patches 1-5 to u-boot-nand-flash next -Scott