tegra: nand: disable subpage writes
Disable subpage writes as we do not provide ecc->hwctl. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
29ce99955e
commit
6eeedc196d
|
@ -964,6 +964,9 @@ int tegra_nand_init(struct nand_chip *nand, int devnum)
|
||||||
nand->dev_ready = nand_dev_ready;
|
nand->dev_ready = nand_dev_ready;
|
||||||
nand->priv = &nand_ctrl;
|
nand->priv = &nand_ctrl;
|
||||||
|
|
||||||
|
/* Disable subpage writes as we do not provide ecc->hwctl */
|
||||||
|
nand->options |= NAND_NO_SUBPAGE_WRITE;
|
||||||
|
|
||||||
/* Adjust controller clock rate */
|
/* Adjust controller clock rate */
|
||||||
clock_start_periph_pll(PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH, 52000000);
|
clock_start_periph_pll(PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH, 52000000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue