[ARM] GTA02: build fixes (s3c2410_nand_set usage)
authorNelson Castillo <arhuaco@freaks-unidos.net>
Tue, 23 Jun 2009 18:54:32 +0000 (13:54 -0500)
committerBen Dooks <ben-linux@fluff.org>
Tue, 23 Jun 2009 23:10:46 +0000 (00:10 +0100)
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>
arch/arm/mach-s3c2442/mach-gta02.c

index e23b581..0fb385b 100644 (file)
@@ -433,8 +433,7 @@ static struct s3c2410_nand_set gta02_nand_sets[] = {
                 */
                .name           = "neo1973-nand",
                .nr_chips       = 1,
-               .use_bbt        = 1,
-               .force_soft_ecc = 1,
+               .flash_bbt      = 1,
        },
 };