[PATCH v2] ARM: omap2: mtd split nand_scan in ident and tail

Vimal Singh vimal.newwork at gmail.com
Mon Apr 18 02:59:47 EDT 2011


On Mon, Apr 18, 2011 at 12:20 PM, Jan Weitzel <j.weitzel at phytec.de> wrote:
> nand_scan calls nand_scan_tail and here we got a ecc.layout and calculate
> oobavail for this layout. After calling nand_scan, we change the layout pointer
> if OMAP_ECC_HAMMING_CODE_HW_ROMCODE is set. This results in not calcluated
> oobavail. Mountig as jffs2 is not possible.
>
> To fix that nand_scan has to split up in nand_scan_ident and nand_scan_tail
> setting ecc.layout between these calls. So nand_scan_tail calculates oobvail
> for the used layout. This is also done in serveral other platforms.
>
> v2:
> update commit message
Move above two lines to below (as there are not part of commit log):

>
> Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>
> ---
here.

Feel free to add:
Reviewed-by: Vimal Singh <vimal.newwork at gmail.com>

Regards,
Vimal



More information about the linux-mtd mailing list