[U-Boot] [U-boot]question: why write bbt and search bbt use different ops mode in nand_bbt.c in U-boot 2013.04?

Scott Wood scottwood at freescale.com
Tue Sep 24 21:53:21 CEST 2013


On Tue, 2013-09-24 at 10:13 +0800, TigerLiu at viatech.com.cn wrote:
> It's confused that search BBT and write BBT uses different mtd ops
> mode. And also data will not be valid if U-boot uses mtd ops
> MTD_OOB_RAW during reading and no software ECC is implemented. 
> 
> I also noticed that in U-boot2013.07 both search BBT and write BBT
> uses mtd ops MTD_OPS_PLACE_OOB.

We inherited this code from Linux.  Presumably it was a bug that got
fixed.

-Scott






More information about the U-Boot mailing list