@@ -53,6 +53,8 @@ Recommended properties :
identifier is saved in OOB area. If not present
false.
+- ti,davinci-nosubpage-write: disable subpage write for the device
+
Deprecated properties:
- ti,davinci-ecc-mode: operation mode of the NAND ecc mode. ECC mode
@@ -581,6 +581,9 @@ static struct davinci_nand_pdata
of_property_read_bool(pdev->dev.of_node,
"ti,davinci-nand-use-bbt"))
pdata->bbt_options = NAND_BBT_USE_FLASH;
+ if (of_property_read_bool(pdev->dev.of_node,
+ "ti,davinci-no-subpage-write"))
+ pdata->options |= NAND_NO_SUBPAGE_WRITE;
}
return dev_get_platdata(&pdev->dev);