diff options
Diffstat (limited to 'packages/linux/linux-ezx/ezx-mmc-ro.patch')
-rw-r--r-- | packages/linux/linux-ezx/ezx-mmc-ro.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/linux/linux-ezx/ezx-mmc-ro.patch b/packages/linux/linux-ezx/ezx-mmc-ro.patch deleted file mode 100644 index 7f95c44c62..0000000000 --- a/packages/linux/linux-ezx/ezx-mmc-ro.patch +++ /dev/null @@ -1,24 +0,0 @@ -This patch fixes the mmc/sd read-only detection, which is obviously only -available on E680 phones, and not on A780, since TransFlash doesn't have any -hardware write protection. - -Index: linux-2.6.16.13-ezx3/arch/arm/mach-pxa/ezx.c -=================================================================== ---- linux-2.6.16.13-ezx3.orig/arch/arm/mach-pxa/ezx.c 2006-05-12 19:32:03.000000000 +0200 -+++ linux-2.6.16.13-ezx3/arch/arm/mach-pxa/ezx.c 2006-05-13 15:22:51.000000000 +0200 -@@ -151,9 +153,13 @@ - static int ezx_mci_get_ro(struct device *dev) - { - printk("%s entered\n", __FUNCTION__); -- return (GPLR3 & 0x800); -- // return GPIO_is_high(96+4); -+#if defined(CONFIG_PXA_EZX_E680) - /* this is only e680, i guess */ -+ // return GPIO_is_high(96+4); -+ return (GPLR3 & 0x800); -+#else -+ return 0; -+#endif - } - - #if defined(CONFIG_PXA_EZX_A780) |