r3977 - trunk/src/target/u-boot/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Tue Jan 29 15:02:05 CET 2008


Author: werner
Date: 2008-01-29 15:02:00 +0100 (Tue, 29 Jan 2008)
New Revision: 3977

Added:
   trunk/src/target/u-boot/patches/usb-vendor.patch
Log:
OpenMoko, Inc. now has its own USB vendor ID. Changing the ID creates a
compatibility barrier for DFU, so we only do this for GTA02.

To make it easier to locally back out this change, it gets its own patch
for a while. To be merged into uboot-gta02.patch later.

usb-vendor.patch:
- include/configs/neo1973_gta02.h (CONFIG_USBD_VENDORID), 
  board/neo1973/gta02/config.mk (CONFIG_USB_DFU_VENDOR): changed USB ID from 
  FIC to OpenMoko



Added: trunk/src/target/u-boot/patches/usb-vendor.patch
===================================================================
--- trunk/src/target/u-boot/patches/usb-vendor.patch	2008-01-29 12:54:48 UTC (rev 3976)
+++ trunk/src/target/u-boot/patches/usb-vendor.patch	2008-01-29 14:02:00 UTC (rev 3977)
@@ -0,0 +1,26 @@
+Index: u-boot/board/neo1973/gta02/config.mk
+===================================================================
+--- u-boot.orig/board/neo1973/gta02/config.mk
++++ u-boot/board/neo1973/gta02/config.mk
+@@ -24,7 +24,7 @@
+ #
+ # download area is 3200'0000 or 3300'0000
+ 
+-CONFIG_USB_DFU_VENDOR=0x1457
++CONFIG_USB_DFU_VENDOR=0x1d50
+ CONFIG_USB_DFU_PRODUCT=0x5119
+ 
+ sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
+Index: u-boot/include/configs/neo1973_gta02.h
+===================================================================
+--- u-boot.orig/include/configs/neo1973_gta02.h
++++ u-boot/include/configs/neo1973_gta02.h
+@@ -177,7 +177,7 @@
+ #define CONFIG_USB_DEVICE	1
+ #define CONFIG_USB_TTY		1
+ #define CFG_CONSOLE_IS_IN_ENV	1
+-#define CONFIG_USBD_VENDORID 		0x1457     /* Linux/NetChip */
++#define CONFIG_USBD_VENDORID 		0x1d50    /* OpenMoko, Inc. */
+ #define CONFIG_USBD_PRODUCTID_GSERIAL	0x5120    /* gserial */
+ #define CONFIG_USBD_PRODUCTID_CDCACM 	0x5119    /* CDC ACM */
+ #define CONFIG_USBD_MANUFACTURER	"OpenMoko, Inc"





More information about the commitlog mailing list