提交 b3fb663b 编写于 作者: H Hugo Villeneuve 提交者: Jean-Christophe PLAGNIOL-VILLARD

ARM DaVinci: Fix compilation error with new MTD code.

ARM DaVinci: Fix compilation error with new MTD code.
Signed-off-by: NHugo Villeneuve <hugo.villeneuve@lyrtech.com>
上级 afe3848b
......@@ -90,7 +90,6 @@ static void nand_davinci_select_chip(struct mtd_info *mtd, int chip)
#ifdef CFG_NAND_HW_ECC
#ifdef CFG_NAND_LARGEPAGE
static struct nand_ecclayout davinci_nand_ecclayout = {
.useecc = MTD_NANDECC_AUTOPLACE,
.eccbytes = 12,
.eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
.oobfree = {
......@@ -103,7 +102,6 @@ static struct nand_ecclayout davinci_nand_ecclayout = {
};
#elif defined(CFG_NAND_SMALLPAGE)
static struct nand_ecclayout davinci_nand_ecclayout = {
.useecc = MTD_NANDECC_AUTOPLACE,
.eccbytes = 3,
.eccpos = {0, 1, 2},
.oobfree = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册