From: Marcel Ziswiler Date: Wed, 5 Aug 2015 22:47:13 +0000 (+0200) Subject: tegra: nand: disable subpage writes X-Git-Tag: v2015.10-rc2~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6eeedc196d51e86a1f361c9b5116d67e4cff7783;p=oweals%2Fu-boot.git tegra: nand: disable subpage writes Disable subpage writes as we do not provide ecc->hwctl. Signed-off-by: Marcel Ziswiler Acked-by: Scott Wood Signed-off-by: Tom Warren --- diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c index 723d0ecad7..debad4f791 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);