|
@@ -1476,6 +1476,9 @@ static int pxa3xx_nand_scan(struct mtd_info *mtd)
|
|
if (pdata->keep_config && !pxa3xx_nand_detect_config(info))
|
|
if (pdata->keep_config && !pxa3xx_nand_detect_config(info))
|
|
goto KEEP_CONFIG;
|
|
goto KEEP_CONFIG;
|
|
|
|
|
|
|
|
+ /* Set a default chunk size */
|
|
|
|
+ info->chunk_size = 512;
|
|
|
|
+
|
|
ret = pxa3xx_nand_sensing(info);
|
|
ret = pxa3xx_nand_sensing(info);
|
|
if (ret) {
|
|
if (ret) {
|
|
dev_info(&info->pdev->dev, "There is no chip on cs %d!\n",
|
|
dev_info(&info->pdev->dev, "There is no chip on cs %d!\n",
|