Commit 82d0a51c authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

ignore nand fail bbt scan on the very first boot

parent bc970067
...@@ -1156,7 +1156,8 @@ static int pl35x_nand_probe(struct platform_device *pdev) ...@@ -1156,7 +1156,8 @@ static int pl35x_nand_probe(struct platform_device *pdev)
/* second phase scan */ /* second phase scan */
if (nand_scan_tail(mtd)) { if (nand_scan_tail(mtd)) {
dev_err(&pdev->dev, "nand_scan_tail for NAND failed\n"); dev_err(&pdev->dev, "nand_scan_tail for NAND failed\n");
return -ENXIO; // elphel393: don't want to fail exit on the very first boot when flash is locked and the bad block table is not written yet
//return -ENXIO;
} }
//elphel393 modification for Micron NAND chips //elphel393 modification for Micron NAND chips
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment