summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.26/collie.patch
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-07-27 14:53:02 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-07-27 14:53:02 +0000
commit3abe56cb296c52b822c9721cf840e8ad2714cac1 (patch)
tree270047b3e6196e8095f81f1de70ffe3e21eb668a /packages/linux/linux-rp-2.6.26/collie.patch
parent51528f555d648519a98e0d6f1785d3d689ef0943 (diff)
linux-rp 2.6.26:-update collie patch
-change collie defconfig -remove initramfs-config-collie
Diffstat (limited to 'packages/linux/linux-rp-2.6.26/collie.patch')
-rw-r--r--packages/linux/linux-rp-2.6.26/collie.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.26/collie.patch b/packages/linux/linux-rp-2.6.26/collie.patch
index 00b7d881a5..6dad0027c6 100644
--- a/packages/linux/linux-rp-2.6.26/collie.patch
+++ b/packages/linux/linux-rp-2.6.26/collie.patch
@@ -534,6 +534,23 @@ index a8ad8a0..137b043 100644
#define UCB_TC_A 0x05
#define UCB_TC_A_LOOP (1 << 7) /* UCB1200 */
+diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c
+index c7d5a52..215bec2 100644
+--- a/drivers/mtd/maps/sa1100-flash.c
++++ b/drivers/mtd/maps/sa1100-flash.c
+@@ -210,6 +210,12 @@ static int sa1100_probe_subdev(struct sa_subdev_info *subdev, struct resource *r
+ goto err;
+ }
+ subdev->mtd->owner = THIS_MODULE;
++
++#ifdef CONFIG_SA1100_COLLIE
++ /* collie flash starts locked */
++ if (subdev->mtd->unlock)
++ subdev->mtd->unlock(subdev->mtd, 0xc0000, subdev->mtd->size - 0xc0000);
++#endif
+
+ printk(KERN_INFO "SA1100 flash: CFI device at 0x%08lx, %dMiB, "
+ "%d-bit\n", phys, subdev->mtd->size >> 20,
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index 3b4e55c..0ae741d 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c