]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
nand: am33xx_nand: Use a special scan_bbt routine to switch ECC mode KARO-TX48-2012-08-27
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 27 Aug 2012 13:00:50 +0000 (15:00 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 27 Aug 2012 13:00:50 +0000 (15:00 +0200)
commit38807829898c6c9f8f1cfab3386912cad43e9b81
tree0a7c9c9408e51760bba67ec500c6fb020a7c1681
parenta02fcff91f528a412e2a886af5907be5fbf80510
nand: am33xx_nand: Use a special scan_bbt routine to switch ECC mode

scan_bbt requires the ECC mode to be set to HW 0 to detect the factory
bad block markers. Everyone else requires ECC mode '2'. Thus switch
ECC mode in scan_bbt only to prevent confusion in userspace (env
partition requiring to be written with different ECC mode than
everything else).
drivers/mtd/nand/am33xx_nand.c