diff options
author | Hugo Villeneuve <hugo.villeneuve@lyrtech.com> | 2008-08-19 16:21:00 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-25 11:12:42 +0200 |
commit | b3fb663b20d995ca41327db877ddb168279b3f62 (patch) | |
tree | ab359ba376ad2867146507ea67751848b3a18041 /cpu/arm926ejs/davinci | |
parent | afe3848b79a7ff351e9fbf3a7c162d2de002279b (diff) |
ARM DaVinci: Fix compilation error with new MTD code.
ARM DaVinci: Fix compilation error with new MTD code.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Diffstat (limited to 'cpu/arm926ejs/davinci')
-rw-r--r-- | cpu/arm926ejs/davinci/nand.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu/arm926ejs/davinci/nand.c b/cpu/arm926ejs/davinci/nand.c index 2aa01d6f78..080b32c1f2 100644 --- a/cpu/arm926ejs/davinci/nand.c +++ b/cpu/arm926ejs/davinci/nand.c @@ -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 = { |