summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2010-07-30 21:11:41 (GMT)
committerScott Wood <scottwood@freescale.com>2010-10-11 20:09:23 (GMT)
commitf9a5254111a6be2a39464f65a96f4fc2305e3c76 (patch)
treec03bcbaf8c60cc46544e5387aa6d5fb44a3e9bef /common
parentbfc7bea6adc46e1db2f5a5e3464d7652ed67c864 (diff)
downloadu-boot-f9a5254111a6be2a39464f65a96f4fc2305e3c76.tar.xz
nand util: read/write: accept unaligned length
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 <scottwood@freescale.com> Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions