[ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau...
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch
1 From 7fe5fff12cc8c38b174dd26c5344a3052f5e7357 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Fri, 25 Jul 2008 23:06:07 +0100
4 Subject: [PATCH] tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_chip.patch
5 Signed-off-by: Andy Green <andy@openmoko.com>
6
7 ---
8 drivers/mtd/nand/s3c2410.c | 28 ----------------------------
9 1 files changed, 0 insertions(+), 28 deletions(-)
10
11 diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
12 index 4f747b1..85bd4b8 100644
13 --- a/drivers/mtd/nand/s3c2410.c
14 +++ b/drivers/mtd/nand/s3c2410.c
15 @@ -726,34 +726,6 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
16 }
17 }
18
19 -/* s3c2410_nand_update_chip
20 - *
21 - * post-probe chip update, to change any items, such as the
22 - * layout for large page nand
23 - */
24 -
25 -static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
26 - struct s3c2410_nand_mtd *nmtd)
27 -{
28 - struct nand_chip *chip = &nmtd->chip;
29 -
30 - printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift);
31 -
32 - if (hardware_ecc) {
33 - /* change the behaviour depending on wether we are using
34 - * the large or small page nand device */
35 -
36 - if (chip->page_shift > 10) {
37 - chip->ecc.size = 256;
38 - chip->ecc.bytes = 3;
39 - } else {
40 - chip->ecc.size = 512;
41 - chip->ecc.bytes = 3;
42 - chip->ecc.layout = &nand_hw_eccoob;
43 - }
44 - }
45 -}
46 -
47 /* s3c2410_nand_probe
48 *
49 * called by device layer when it finds a device matching
50 --
51 1.5.6.3
52
This page took 0.05647 seconds and 5 git commands to generate.