]> git.sur5r.net Git - u-boot/commitdiff
ARM DaVinci: Fix compilation error with new MTD code.
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>
Tue, 19 Aug 2008 20:21:00 +0000 (16:21 -0400)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 25 Aug 2008 09:12:42 +0000 (11:12 +0200)
ARM DaVinci: Fix compilation error with new MTD code.

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
cpu/arm926ejs/davinci/nand.c

index 2aa01d6f78e708b669a10a2f482b310996d8b236..080b32c1f20a4addbdf2bc1165320ee30ea16e7a 100644 (file)
@@ -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 = {