Commit cf07d39f authored by Fabien Parent's avatar Fabien Parent Committed by Tom Rini

NAND: davinci: add support for NAND chips with 16 bits bus

The OMAPL138-LCD board uses a NAND chip with a 16 bits bus. Add
support into the davinci driver for 16 bit bus NAND chips.
Signed-off-by: default avatarFabien Parent <>
Reviewed-by: default avatarTom Rini <>
parent 742762bf
......@@ -799,6 +799,9 @@ void davinci_nand_init(struct nand_chip *nand)
nand->options |= NAND_NO_SUBPAGE_WRITE;
nand->options |= NAND_BUSWIDTH_16;
nand->ecc.mode = NAND_ECC_HW;
nand->ecc.size = 512;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment