diff options
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch b/target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch new file mode 100644 index 0000000..500419c --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch @@ -0,0 +1,27 @@ +From dca223223da5ebcea80f04b90e2fd7665bed5fb2 Mon Sep 17 00:00:00 2001 +From: Holger Freyther <zecke@openmoko.org> +Date: Wed, 13 Aug 2008 11:27:37 +0100 +Subject: [PATCH] From 98d97ee93af676f7d6d0bf55aaae17e11304598a Mon Sep 17 00:00:00 2001 + Subject: [PATCH] Revert "s3c2440-nand-disable-hwecc.patch" + +This reverts commit 1d89da736ed33d3f7c398fb9f8dfddecb7c7c7a9. +--- + drivers/mtd/nand/s3c2410.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c +index f7dd4e0..495381c 100644 +--- a/drivers/mtd/nand/s3c2410.c ++++ b/drivers/mtd/nand/s3c2410.c +@@ -656,7 +656,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info, + nmtd->mtd.owner = THIS_MODULE; + nmtd->set = set; + +- if (info->cpu_type == TYPE_S3C2410 && hardware_ecc) { ++ if (hardware_ecc) { + chip->ecc.calculate = s3c2410_nand_calculate_ecc; + chip->ecc.correct = s3c2410_nand_correct_data; + chip->ecc.mode = NAND_ECC_HW; +-- +1.5.6.5 + |