From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 24 Jan 2012 13:23:42 +0100 Subject: [U-Boot] USBTTY for CONFIG_USB_GADGET In-Reply-To: <1f9e01ccd7c1$b8fa1980$2aee4c80$@codeaurora.org> References: <1f9e01ccd7c1$b8fa1980$2aee4c80$@codeaurora.org> Message-ID: <4F1EA2CE.9080100@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20/01/2012 23:20, Michael Schwartz wrote: > Hi, > > Hi Michael, > > Can new UDCs be written for CONFIG_USB_DEVICE or is that deprecated in > favour of CONFIG_USB_GADGET? I have not read any clear statement about this, but IMHO we should consider CONFIG_USB_DEVICE obsolete and move to CONFIG_USB_GADGET. > If that is the case and CONFIG_USB_DEVICE is > deprecated, if I want to get USBTTY enabled for a currently unsupported UDC > I would need to port USBTTY to CONFIG_USB_GADGET; Yes, that is right - there is currently no support for the serial gadget. > is there interest in that > effort or is there some alternative? This is very interesting ! There is a lot of boards using CONFIG_USB_DEVICE. We cannot drop then CONFIG_USB_DEVICE, but new boards must use the new interface. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================