Changeset 910
- Timestamp:
- 02/08/07 14:59:54 (6 years ago)
- Location:
- trunk/src/target/u-boot/patches
- Files:
-
- 2 edited
-
series (modified) (1 diff)
-
uboot-s3c2410_udc.patch (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/u-boot/patches/series
r903 r910 22 22 bbt-create-optional.patch 23 23 nand-createbbt.patch 24 uboot-mokoversion.patch -
trunk/src/target/u-boot/patches/uboot-s3c2410_udc.patch
r692 r910 1 1 USB Device Controller Driver for Samsung S3C2410 SoC 2 2 3 Index: u-boot .git/drivers/Makefile3 Index: u-boot/drivers/Makefile 4 4 =================================================================== 5 --- u-boot. git.orig/drivers/Makefile 2007-02-05 23:38:29.000000000 +01006 +++ u-boot .git/drivers/Makefile 2007-02-05 23:38:29.000000000 +01005 --- u-boot.orig/drivers/Makefile 2007-02-08 14:45:10.000000000 +0100 6 +++ u-boot/drivers/Makefile 2007-02-08 14:45:37.000000000 +0100 7 7 @@ -46,7 +46,7 @@ 8 8 sl811_usb.o sm501.o smc91111.o smiLynxEM.o \ … … 14 14 ks8695eth.o \ 15 15 pxa_pcmcia.o mpc8xx_pcmcia.o tqm8xx_pcmcia.o \ 16 Index: u-boot .git/drivers/usbdcore_s3c2410.c16 Index: u-boot/drivers/usbdcore_s3c2410.c 17 17 =================================================================== 18 18 --- /dev/null 1970-01-01 00:00:00.000000000 +0000 19 +++ u-boot .git/drivers/usbdcore_s3c2410.c 2007-02-05 23:38:29.000000000 +010019 +++ u-boot/drivers/usbdcore_s3c2410.c 2007-02-08 14:45:37.000000000 +0100 20 20 @@ -0,0 +1,708 @@ 21 21 +/* S3C2410 USB Device Controller Driver for u-boot … … 727 727 +} 728 728 +#endif 729 Index: u-boot .git/drivers/usbdcore_s3c2410.h729 Index: u-boot/drivers/usbdcore_s3c2410.h 730 730 =================================================================== 731 731 --- /dev/null 1970-01-01 00:00:00.000000000 +0000 732 +++ u-boot .git/drivers/usbdcore_s3c2410.h 2007-02-05 23:38:29.000000000 +0100732 +++ u-boot/drivers/usbdcore_s3c2410.h 2007-02-08 14:45:37.000000000 +0100 733 733 @@ -0,0 +1,273 @@ 734 734 +/* linux/include/asm/arch-s3c2410/regs-udc.h … … 1005 1005 + 1006 1006 +#endif 1007 Index: u-boot .git/include/s3c2410.h1007 Index: u-boot/include/s3c2410.h 1008 1008 =================================================================== 1009 --- u-boot. git.orig/include/s3c2410.h 2007-02-05 23:38:29.000000000 +01001010 +++ u-boot .git/include/s3c2410.h 2007-02-05 23:38:29.000000000 +01001009 --- u-boot.orig/include/s3c2410.h 2007-02-08 14:45:09.000000000 +0100 1010 +++ u-boot/include/s3c2410.h 2007-02-08 14:45:37.000000000 +0100 1011 1011 @@ -233,4 +233,40 @@ 1012 1012 rINTPND;\ … … 1050 1050 + 1051 1051 #endif /*__S3C2410_H__*/ 1052 Index: u-boot .git/drivers/usbdcore_ep0.c1052 Index: u-boot/drivers/usbdcore_ep0.c 1053 1053 =================================================================== 1054 --- u-boot. git.orig/drivers/usbdcore_ep0.c 2007-02-05 23:38:20.000000000 +01001055 +++ u-boot .git/drivers/usbdcore_ep0.c 2007-02-05 23:38:29.000000000 +01001054 --- u-boot.orig/drivers/usbdcore_ep0.c 2007-02-08 14:33:38.000000000 +0100 1055 +++ u-boot/drivers/usbdcore_ep0.c 2007-02-08 14:47:19.000000000 +0100 1056 1056 @@ -43,7 +43,7 @@ 1057 1057 … … 1093 1093 /*dbg_ep0(3, "copied device configuration, actual_length: %x", urb->actual_length); */ 1094 1094 break; 1095 @@ -25 0,9 +244,9 @@1095 @@ -251,11 +245,9 @@ 1096 1096 index); 1097 1097 return -1; 1098 1098 } 1099 1099 - copy_config (urb, configuration_descriptor, 1100 - le16_to_cpu(configuration_descriptor->wTotalLength), 1100 - sizeof (struct 1101 - usb_configuration_descriptor), 1101 1102 - max); 1103 - 1102 1104 + urb->buffer = configuration_descriptor; 1103 + urb->actual_length = 1105 + urb->actual_length = 1104 1106 + MIN(le16_to_cpu(configuration_descriptor->wTotalLength), max); 1105 }1106 break;1107 1107 1108 @@ -543,7 +537,8 @@ 1108 /* iterate across interfaces for specified configuration */ 1109 dbg_ep0 (0, "bNumInterfaces: %d", 1110 @@ -642,7 +634,8 @@ 1109 1111 /*dbg_ep0(2, "address: %d %d %d", */ 1110 1112 /* request->wValue, le16_to_cpu(request->wValue), device->address); */ … … 1116 1118 1117 1119 case USB_REQ_SET_DESCRIPTOR: /* XXX should we support this? */ 1118 Index: u-boot .git/include/configs/neo1973.h1120 Index: u-boot/include/configs/neo1973.h 1119 1121 =================================================================== 1120 --- u-boot. git.orig/include/configs/neo1973.h 2007-02-05 23:38:29.000000000 +01001121 +++ u-boot .git/include/configs/neo1973.h 2007-02-06 02:04:28.000000000 +01001122 @@ -17 2,6 +172,18 @@1122 --- u-boot.orig/include/configs/neo1973.h 2007-02-08 14:45:24.000000000 +0100 1123 +++ u-boot/include/configs/neo1973.h 2007-02-08 14:45:37.000000000 +0100 1124 @@ -173,6 +173,18 @@ 1123 1125 #define CONFIG_USB_OHCI 1 1124 1126 #endif … … 1139 1141 * Physical Memory Map 1140 1142 */ 1141 Index: u-boot .git/cpu/arm920t/s3c24x0/interrupts.c1143 Index: u-boot/cpu/arm920t/s3c24x0/interrupts.c 1142 1144 =================================================================== 1143 --- u-boot. git.orig/cpu/arm920t/s3c24x0/interrupts.c 2007-02-05 23:38:29.000000000 +01001144 +++ u-boot .git/cpu/arm920t/s3c24x0/interrupts.c 2007-02-05 23:38:29.000000000 +01001145 --- u-boot.orig/cpu/arm920t/s3c24x0/interrupts.c 2007-02-08 14:45:24.000000000 +0100 1146 +++ u-boot/cpu/arm920t/s3c24x0/interrupts.c 2007-02-08 14:45:37.000000000 +0100 1145 1147 @@ -222,6 +222,13 @@ 1146 1148 S3C24X0_INTERRUPT * irq = S3C24X0_GetBase_INTERRUPT(); … … 1157 1159 #endif /* USE_IRQ */ 1158 1160 1159 Index: u-boot .git/drivers/usbtty.h1161 Index: u-boot/drivers/usbtty.h 1160 1162 =================================================================== 1161 --- u-boot. git.orig/drivers/usbtty.h 2007-02-05 23:38:29.000000000 +01001162 +++ u-boot .git/drivers/usbtty.h 2007-02-05 23:38:29.000000000 +01001163 --- u-boot.orig/drivers/usbtty.h 2007-02-08 14:45:26.000000000 +0100 1164 +++ u-boot/drivers/usbtty.h 2007-02-08 14:45:37.000000000 +0100 1163 1165 @@ -29,6 +29,8 @@ 1164 1166 #include "usbdcore_mpc8xx.h"
Note: See TracChangeset
for help on using the changeset viewer.
