[MTD] NAND: OOB buffer offset fixups
authorVitaly Wool <vwool@ru.mvista.com>
Tue, 11 Jul 2006 07:11:25 +0000 (09:11 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 11 Jul 2006 07:11:25 +0000 (09:11 +0200)
In the case of data-pad-ecc-pad-data... layout the oob start position
has to be sizeof(data) in nand_write_oob_syndrom().

In nand_fill_oob() we need to copy to buf + buffer offset instead of
buf + write offset.

From: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found