[U-Boot] Q: NAND read/write: unaligned offset

Scott Wood scottwood at freescale.com
Fri Jul 1 21:44:32 CEST 2011


On Fri, 1 Jul 2011 12:42:12 -0700
Ran Shalit <ranshalit at gmail.com> wrote:

> Thank you for the kind reply. Is it also possible instead of using
> read-modify-write which you've suggested, just to call the
> nand_write_skip_bad (the patch version) with 0xFFFF...  at the start of
> partition, so that nand_write_skip_bad is given aligned offset & unaligned
> length? As I undesratnd, an attempt to write "ff" in nand will result in no
> change of data.

This will result in improper ECC being written.

-Scott



More information about the U-Boot mailing list