Skip to content

Commit

Permalink
[ARM] GTA02: build fixes (s3c2410_nand_set usage)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nelson Castillo authored and Ben Dooks committed Jun 23, 2009
1 parent 084da89 commit 76609a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-s3c2442/mach-gta02.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 76609a6

Please sign in to comment.