diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2012-01-20 18:38:14 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-02-28 14:03:39 -0600 |
commit | 5f720b85141646055c08bbccb0e2549f654563de (patch) | |
tree | 5d1b00f9a132eeb4226bacd3e8cfb6add6bf9807 /drivers/mtd/nand/fsl_elbc_nand.c | |
parent | d90361285c1c9751bd1b3700a18db882b32ddad5 (diff) | |
download | u-boot-imx-5f720b85141646055c08bbccb0e2549f654563de.zip u-boot-imx-5f720b85141646055c08bbccb0e2549f654563de.tar.gz u-boot-imx-5f720b85141646055c08bbccb0e2549f654563de.tar.bz2 |
mtd/nand:Fix wrong usage of is_blank() in fsl_ifc_run_command
Freescale IFC NAND Machine calculates ECC on 512byte sector and same is used in
fsl_ifc_run_command() during ECC status verification. Also this sector is passed
to is_blank() for blank checking. It is wrong at first place because
is_blank()'s implementation checks for Page size and OOB area size.
is_blank() should be called per page for main and OOB area verification.
Variables name are redefined to avoid confusion between buffer and ecc sector.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_elbc_nand.c')
0 files changed, 0 insertions, 0 deletions