浏览代码

[ARM] GTA02: build fixes (s3c2410_nand_set usage)

This patch fixes two errors we get when building GTA02 kernel.

~ use_bbt is incorrect, we need flash_bbt.

~ We do not need .force_soft_ecc because we can unset
  CONFIG_MTD_NAND_S3C2410_HWECC.

Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
[ben-linux@fluff.org: updated patch description]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Nelson Castillo 16 年之前
父节点
当前提交
76609a6928
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      arch/arm/mach-s3c2442/mach-gta02.c

+ 1 - 2
arch/arm/mach-s3c2442/mach-gta02.c

@@ -433,8 +433,7 @@ static struct s3c2410_nand_set gta02_nand_sets[] = {
 		 */
 		 */
 		.name		= "neo1973-nand",
 		.name		= "neo1973-nand",
 		.nr_chips	= 1,
 		.nr_chips	= 1,
-		.use_bbt	= 1,
-		.force_soft_ecc	= 1,
+		.flash_bbt	= 1,
 	},
 	},
 };
 };