summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2012-01-20 13:08:14 (GMT)
committerScott Wood <scottwood@freescale.com>2012-02-28 20:03:39 (GMT)
commit5f720b85141646055c08bbccb0e2549f654563de (patch)
tree5d1b00f9a132eeb4226bacd3e8cfb6add6bf9807 /drivers/mtd/spi
parentd90361285c1c9751bd1b3700a18db882b32ddad5 (diff)
downloadu-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/spi')
0 files changed, 0 insertions, 0 deletions