diff options
author | Roger Quadros <rogerq@ti.com> | 2014-11-19 14:22:23 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-25 22:44:10 -0800 |
commit | 775a9134f4398ca98a10af8cc3cf9b664017267f (patch) | |
tree | 517ebdfd4ee5858323f0b35f466c496b5f1fdcdb /drivers/macintosh/windfarm_pm72.c | |
parent | 641519cb61bc766c3b4a70fd9ef14fc9509bf8bf (diff) | |
download | linux-775a9134f4398ca98a10af8cc3cf9b664017267f.tar.bz2 |
mtd: nand: omap: Fix NAND enumeration on 3430 LDP
3430LDP has NAND flash with 32 bytes OOB size which is sufficient to hold
BCH8 codes but the small page check introduced in
commit b491da7233d5 ("mtd: nand: omap: clean-up ecc layout for BCH ecc schemes")
considers anything below 64 bytes unsuitable for BCH4/8/16. There is another
bug in that code where it doesn't skip the check for OMAP_ECC_HAM1_CODE_SW.
Get rid of that small page check code as it is insufficient and redundant
because we are checking for OOB available bytes vs ecc layout before calling
nand_scan_tail().
Fixes: b491da7233d5 ("mtd: nand: omap: clean-up ecc layout for BCH ecc schemes")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/macintosh/windfarm_pm72.c')
0 files changed, 0 insertions, 0 deletions