diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2012-01-20 13:08:14 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-02-28 20:03:39 (GMT) |
commit | 5f720b85141646055c08bbccb0e2549f654563de (patch) | |
tree | 5d1b00f9a132eeb4226bacd3e8cfb6add6bf9807 /drivers/mtd/jedec_flash.c | |
parent | d90361285c1c9751bd1b3700a18db882b32ddad5 (diff) | |
download | u-boot-5f720b85141646055c08bbccb0e2549f654563de.tar.xz |
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/jedec_flash.c')
0 files changed, 0 insertions, 0 deletions