summaryrefslogtreecommitdiffstats
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2012-01-20 18:38:14 +0530
committerScott Wood <scottwood@freescale.com>2012-02-28 14:03:39 -0600
commit5f720b85141646055c08bbccb0e2549f654563de (patch)
tree5d1b00f9a132eeb4226bacd3e8cfb6add6bf9807 /common/cmd_nand.c
parentd90361285c1c9751bd1b3700a18db882b32ddad5 (diff)
downloadtalos-obmc-uboot-5f720b85141646055c08bbccb0e2549f654563de.tar.gz
talos-obmc-uboot-5f720b85141646055c08bbccb0e2549f654563de.zip
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 'common/cmd_nand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud