diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | fac7f7f84f3771c5247c7fdee825c092077984f5 (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch | |
parent | a34279723a9cf0796f9261f2fb90bea18cd95711 (diff) | |
download | master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.gz master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.bz2 master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.zip |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch b/target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch new file mode 100755 index 0000000000..f1d90f8e84 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/0134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch @@ -0,0 +1,52 @@ +From 7fe5fff12cc8c38b174dd26c5344a3052f5e7357 Mon Sep 17 00:00:00 2001 +From: Andy Green <andy@openmoko.com> +Date: Fri, 25 Jul 2008 23:06:07 +0100 +Subject: [PATCH] tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_chip.patch + Signed-off-by: Andy Green <andy@openmoko.com> + +--- + drivers/mtd/nand/s3c2410.c | 28 ---------------------------- + 1 files changed, 0 insertions(+), 28 deletions(-) + +diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c +index 4f747b1..85bd4b8 100644 +--- a/drivers/mtd/nand/s3c2410.c ++++ b/drivers/mtd/nand/s3c2410.c +@@ -726,34 +726,6 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info, + } + } + +-/* s3c2410_nand_update_chip +- * +- * post-probe chip update, to change any items, such as the +- * layout for large page nand +- */ +- +-static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info, +- struct s3c2410_nand_mtd *nmtd) +-{ +- struct nand_chip *chip = &nmtd->chip; +- +- printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift); +- +- if (hardware_ecc) { +- /* change the behaviour depending on wether we are using +- * the large or small page nand device */ +- +- if (chip->page_shift > 10) { +- chip->ecc.size = 256; +- chip->ecc.bytes = 3; +- } else { +- chip->ecc.size = 512; +- chip->ecc.bytes = 3; +- chip->ecc.layout = &nand_hw_eccoob; +- } +- } +-} +- + /* s3c2410_nand_probe + * + * called by device layer when it finds a device matching +-- +1.5.6.3 + |