[lkml]   [2018]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] Fix fsl_ifc_nand reading ONFI parameters to meet ONFI spec
Per ONFI specification (Rev. 4.0), if the CRC of the first parameter page
read is not valid, the host should read redundant parameter page copies
until it finds a valid copy. If all three parameter pages have invalid
CRC values, the bit-wise majority may be used to recover the contents of
the parameter pages from the parameter page copies present.

The FSL NAND driver only reads the first page. The first patch fixes the
driver to read all three parameter pages. The second patch is the change
for using bit-wise majority to recover the contents of ONFI parameter.

Jane Wan (2):
Fix FSL NAND driver to read all ONFI parameter pages
Use bit-wise majority to recover the contents of ONFI parameter

drivers/mtd/nand/fsl_ifc_nand.c | 10 ++++++----
drivers/mtd/nand/nand_base.c | 35 +++++++++++++++++++++++++++++++----
2 files changed, 37 insertions(+), 8 deletions(-)


 \ /
  Last update: 2018-04-27 02:21    [W:0.207 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site