fix: nand: fix YAFFS2 write - incorrect handling of OOB offset
During integration of Micron 4GB 8K page 8-bit BCH ECC
NAND flash device with YAFFS2 root file system,
incorrect handling of OOB offset was fixed.
It was tested by writing YAFFS2 image of the root
filesystem in U-boot and mounting it in Linux on the
original ALP board by replacing the flash chip and by
temporarily changing the following files:
* build.pl
- $img_opts according to the flash type, i.e. "-P 8192 -L 1024 -N SLC"
* avanta_lp.h
- #define MV_NAND_8BIT_MODE
- #define CONFIG_CMD_NAND_YAFFS2
- #define CONFIG_MTD_NAND_YAFFS2
Change-Id: I12928c8fb6e9682afd3c2fd4cb27e68baaa0a499
Signed-off-by: Vladimir Abram <vladabr@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/15776
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Omri Itach <omrii@marvell.com>
1 file changed