[U-Boot-Users] [PATCH 6/14] Add USB console support as default on Adder87x board

Bryan O'Donoghue bodonoghue at codehermit.ie
Sun May 28 20:28:43 CEST 2006

On Sun, 28 May 2006 20:53:58 +0300
Yuli Barcohen <yuli at arabellasw.com> wrote:

> I'm afraid in most cases they just will be cloned from board to board so
> I thought it's better to have them in a separate USB-specific file. The
> defaults always can be overwritten by board-specific values from
> BoardName.h.

Actually I agree with you here. That makes a lot of sense to me.

> Not sure I understood why can't we use default IDs from the Linux USB
> gadget driver generously donated by NetChip? I suspect that in most
> cases in which U-Boot USB console is used, Linux USB serial device will
> be used too so it would make sense to have the same IDs.

Perhaps we can. I've sent an email to linux-usb-devel asking this specific
question. If the answer is yes, then we can use the Linux Vendor/Product ID's
if not then I suggest 0xFFFF as a fallback position with a entry in the 
README in big red letters, stating that the Vendor/Product ID stuff *must* be
>     Bryan> 1) An AdderUSBCons defconfig will be made and
>     Bryan> 2) A usbd_vendor.h file shall be created, where the _Vendor_
>     Bryan>    specific defines to the USB console will be defined, thus
>     Bryan>    decoupling the board port from being tied to any specific
>     Bryan>    CONFIG_USBD_MANUFACTURER and so on ?
> Sounds OK to me.

Right-o then Yuli. I'll get straight onto that.

Best Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060528/a6a67129/attachment.pgp 

More information about the U-Boot mailing list