summaryrefslogtreecommitdiff
path: root/packages/linux/mainstone-kernel/flash-unlock.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-01-06 00:52:02 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-01-06 00:52:02 +0000
commit169379dfeb17cd0e926e6a5760a012cc295ef4db (patch)
tree184925460e8402569e08bdd5a226db42693efcca /packages/linux/mainstone-kernel/flash-unlock.patch
parentec540b055c4571f47887e5a086a0158e4c2abba7 (diff)
mainstone-kernel: Major rework of bb, activate Dyntick and tmpfs, add some modules in kernel configuration.
Diffstat (limited to 'packages/linux/mainstone-kernel/flash-unlock.patch')
-rw-r--r--packages/linux/mainstone-kernel/flash-unlock.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/linux/mainstone-kernel/flash-unlock.patch b/packages/linux/mainstone-kernel/flash-unlock.patch
new file mode 100644
index 0000000000..31f3f38e34
--- /dev/null
+++ b/packages/linux/mainstone-kernel/flash-unlock.patch
@@ -0,0 +1,14 @@
+--- drivers/mtd/maps/mainstone-flash.c~ 2008-01-05 01:15:54.000000000 +0100
++++ drivers/mtd/maps/mainstone-flash.c 2008-01-05 01:15:54.000000000 +0100
+@@ -125,6 +125,11 @@
+ continue;
+ }
+ mymtds[i]->owner = THIS_MODULE;
++
++ /* Unlock the flash device. */
++ if (mymtds[i]->unlock)
++ mymtds[i]->unlock(mymtds[i], 0, mymtds[i]->size);
++
+
+ ret = parse_mtd_partitions(mymtds[i], probes,
+ &parsed_parts[i], 0);