From: Roger Quadros Date: Fri, 16 May 2014 21:45:40 +0000 (-0700) Subject: ARM: OMAP2+: nand: Fix NAND on OMAP2 and OMAP3 boards X-Git-Tag: omap-for-v3.15/fixes-v3-signed~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5005e0b76781c37d0a16dd6dd17d015098e8ce92;p=pandora-kernel.git ARM: OMAP2+: nand: Fix NAND on OMAP2 and OMAP3 boards Commit c66d039197e4 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: c66d039197e4 (mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes) Cc: stable@vger.kernel.org # v3.12+ Signed-off-by: Roger Quadros Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed