]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: nand: Fix NAND on OMAP2 and OMAP3 boards
authorRoger Quadros <rogerq@ti.com>
Fri, 16 May 2014 21:45:40 +0000 (14:45 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 16 May 2014 21:45:40 +0000 (14:45 -0700)
commit44dea8a86d59fe5fc270b8b3eab7b2d7cf17977e
tree3aa628332a37a88780bb174623980db5e0c5297d
parent343715286cf3ac6d4c0571dadab8d4e8fcb4ce34
ARM: OMAP2+: nand: Fix NAND on OMAP2 and OMAP3 boards

Commit 2aa2af804f6d broke NAND for non-DT boot on all OMAP2 and OMAP3
boards using board_nand_init(). Following error is seen at boot

[    0.154998]  (null): Unsupported NAND ECC scheme selected

For OMAP2 and OMAP3 platforms, the ecc_opt parameter in platform data
must be set to OMAP_ECC_HAM1_CODE_HW to work properly.

Tested on omap3-beagle c4.

Fixes: 2aa2af804f6d (mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes)
Cc: stable@vger.kernel.org # v3.12+
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-flash.c