[Armadeus-commitlog] SF.net SVN: armadeus:[1285] trunk/buildroot/target/device/armadeus/linux/ kern
Brought to you by:
sszy
|
From: <ar...@us...> - 2009-05-18 15:42:08
|
Revision: 1285
http://armadeus.svn.sourceforge.net/armadeus/?rev=1285&view=rev
Author: artemys
Date: 2009-05-18 15:42:06 +0000 (Mon, 18 May 2009)
Log Message:
-----------
[LINUX] Makes i.MXL UDC works for 2.6.29
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch
Added Paths:
-----------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/037-armadeus-imx_udc-add_printk_when_probed.patch
Modified: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch 2009-05-18 14:59:43 UTC (rev 1284)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch 2009-05-18 15:42:06 UTC (rev 1285)
@@ -4,8 +4,8 @@
Index: linux-2.6.29/arch/arm/mach-imx/apf9328.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29/arch/arm/mach-imx/apf9328.c 2009-05-06 18:25:52.000000000 +0200
-@@ -0,0 +1,806 @@
++++ linux-2.6.29/arch/arm/mach-imx/apf9328.c 2009-05-18 16:38:57.000000000 +0200
+@@ -0,0 +1,816 @@
+/*
+ * linux/arch/arm/mach-imx/apf9328.c
+ *
@@ -223,6 +223,16 @@
+
+static int apf9328_udc_0_init(struct device * dev)
+{
++ imx_gpio_mode(PC3_PF_SSI_RXFS);
++ imx_gpio_mode(PB20_PF_USBD_AFE);
++ imx_gpio_mode(PB21_PF_USBD_OE);
++ imx_gpio_mode(PB22_PF_USBD_RCV);
++ imx_gpio_mode(PB23_PF_USBD_SUSPND);
++ imx_gpio_mode(PB24_PF_USBD_VP);
++ imx_gpio_mode(PB25_PF_USBD_VM);
++ imx_gpio_mode(PB26_PF_USBD_VPO);
++ imx_gpio_mode(PB27_PF_USBD_VMO);
++
+ return 0;
+}
+
@@ -815,7 +825,7 @@
Index: linux-2.6.29/arch/arm/mach-imx/apf9328_lcd_config.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29/arch/arm/mach-imx/apf9328_lcd_config.h 2009-05-06 18:37:00.000000000 +0200
++++ linux-2.6.29/arch/arm/mach-imx/apf9328_lcd_config.h 2009-05-18 16:34:27.000000000 +0200
@@ -0,0 +1,277 @@
+/*
+ *
@@ -1097,7 +1107,7 @@
Index: linux-2.6.29/arch/arm/mach-imx/include/mach/apf9328.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29/arch/arm/mach-imx/include/mach/apf9328.h 2009-05-06 18:25:52.000000000 +0200
++++ linux-2.6.29/arch/arm/mach-imx/include/mach/apf9328.h 2009-05-18 16:34:27.000000000 +0200
@@ -0,0 +1,63 @@
+/*
+ * linux/include/asm-arm/arch-imx/apf9328.h
Added: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/037-armadeus-imx_udc-add_printk_when_probed.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/037-armadeus-imx_udc-add_printk_when_probed.patch (rev 0)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/037-armadeus-imx_udc-add_printk_when_probed.patch 2009-05-18 15:42:06 UTC (rev 1285)
@@ -0,0 +1,16 @@
+Needed by Armadeus UDC test to know if driver is up or not.
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: linux-2.6.29/drivers/usb/gadget/imx_udc.c
+===================================================================
+--- linux-2.6.29.orig/drivers/usb/gadget/imx_udc.c 2009-05-18 16:42:45.000000000 +0200
++++ linux-2.6.29/drivers/usb/gadget/imx_udc.c 2009-05-18 16:42:51.000000000 +0200
+@@ -1486,6 +1486,7 @@
+ imx_usb->timer.function = handle_config;
+ imx_usb->timer.data = (unsigned long)imx_usb;
+
++ printk("%s probed\n", driver_name);
+ return 0;
+
+ fail3:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|