summaryrefslogtreecommitdiff
path: root/openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2006-07-21 09:16:05 +0000
committerMatthew Allum <mallum@openedhand.com>2006-07-21 09:16:05 +0000
commit62e2fd845deab20b6dae588409b7f6f1ed7617f7 (patch)
tree276e3281c6da9371ccfae4d54bb98018fc8bab7a /openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch
parentf1f7b603e03d311530993ec224da034ea5165ba6 (diff)
downloadopenembedded-core-62e2fd845deab20b6dae588409b7f6f1ed7617f7.tar.gz
openembedded-core-62e2fd845deab20b6dae588409b7f6f1ed7617f7.tar.bz2
openembedded-core-62e2fd845deab20b6dae588409b7f6f1ed7617f7.tar.xz
openembedded-core-62e2fd845deab20b6dae588409b7f6f1ed7617f7.zip
Add initial cmx270 2.6.17 kernel
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@528 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch')
-rw-r--r--openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch b/openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch
new file mode 100644
index 000000000..da00e1f8e
--- /dev/null
+++ b/openembedded/packages/linux/linux-cmx270-2.6.17/mtd_fixes1-r0.patch
@@ -0,0 +1,15 @@
+Index: linux-2.6.17/drivers/mtd/nand/cm-x270.c
+===================================================================
+--- linux-2.6.17.orig/drivers/mtd/nand/cm-x270.c 2006-07-19 16:47:08.000000000 +0100
++++ linux-2.6.17/drivers/mtd/nand/cm-x270.c 2006-07-19 16:55:23.000000000 +0100
+@@ -184,6 +184,10 @@
+ int mtd_parts_nb = 0;
+ int ret;
+
++ pxa_gpio_mode(GPIO_NAND_RB);
++ GPSR(GPIO_NAND_CS) = GPIO_bit(GPIO_NAND_CS);
++ pxa_gpio_mode(GPIO_NAND_CS | GPIO_OUT);
++
+ /* Allocate memory for MTD device structure and private data */
+ cmx270_nand_mtd = kzalloc(sizeof(struct mtd_info) +
+ sizeof(struct nand_chip),