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>
8 drivers/mtd/nand/s3c2410.c | 28 ----------------------------
9 1 files changed, 0 insertions(+), 28 deletions(-)
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,
19 -/* s3c2410_nand_update_chip
21 - * post-probe chip update, to change any items, such as the
22 - * layout for large page nand
25 -static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
26 - struct s3c2410_nand_mtd *nmtd)
28 - struct nand_chip *chip = &nmtd->chip;
30 - printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift);
33 - /* change the behaviour depending on wether we are using
34 - * the large or small page nand device */
36 - if (chip->page_shift > 10) {
37 - chip->ecc.size = 256;
38 - chip->ecc.bytes = 3;
40 - chip->ecc.size = 512;
41 - chip->ecc.bytes = 3;
42 - chip->ecc.layout = &nand_hw_eccoob;
49 * called by device layer when it finds a device matching