[U-Boot] [PATCH v3 16/16] tegra: nand: disable subpage writes
Marcel Ziswiler
marcel at ziswiler.com
Thu Aug 6 00:47:13 CEST 2015
From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
Disable subpage writes as we do not provide ecc->hwctl.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
---
drivers/mtd/nand/tegra_nand.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c
index 723d0ec..debad4f 100644
--- a/drivers/mtd/nand/tegra_nand.c
+++ b/drivers/mtd/nand/tegra_nand.c
@@ -964,6 +964,9 @@ int tegra_nand_init(struct nand_chip *nand, int devnum)
nand->dev_ready = nand_dev_ready;
nand->priv = &nand_ctrl;
+ /* Disable subpage writes as we do not provide ecc->hwctl */
+ nand->options |= NAND_NO_SUBPAGE_WRITE;
+
/* Adjust controller clock rate */
clock_start_periph_pll(PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH, 52000000);
--
2.4.3
More information about the U-Boot
mailing list