From: Bryan O'Donoghue Date: Sun, 28 May 2006 19:28:43 +0100 Subject: [U-Boot-Users] [PATCH 6/14] Add USB console support as default on Adder87x board In-Reply-To: <17529.58294.723456.44904@astp0002.localdomain> References: <20060526220714.8297397e.bodonoghue@codehermit.ie> <17529.50330.63955.958168@astp0002.localdomain> <20060528182429.d7b39f9f.bodonoghue@codehermit.ie> <17529.58294.723456.44904@astp0002.localdomain> Message-ID: <20060528192843.5700b5d5.bodonoghue@codehermit.ie> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 28 May 2006 20:53:58 +0300 Yuli Barcohen 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 changed. > 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, Bryan -------------- 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