Re: [U-Boot] [PATCH 05/11] usb-gadget: add FOTG210 USB gadget support

2013-03-31 Thread Kuo-Jung Su
2013/3/30 Marek Vasut : > Dear Kuo-Jung Su, > >> From: Kuo-Jung Su >> >> This patch would try to use Faraday FOTG210 to implement >> a USB RNDIS Ethernet. >> >> Signed-off-by: Kuo-Jung Su > > [...] > >> +static inline int >> +ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) >> +{ >> + int

Re: [U-Boot] [PATCH 05/11] usb-gadget: add FOTG210 USB gadget support

2013-03-29 Thread Marek Vasut
Dear Kuo-Jung Su, > From: Kuo-Jung Su > > This patch would try to use Faraday FOTG210 to implement > a USB RNDIS Ethernet. > > Signed-off-by: Kuo-Jung Su [...] > +static inline int > +ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) > +{ > + int ep = ep_addr & USB_ENDPOINT_NUMBER_MAS

[U-Boot] [PATCH 05/11] usb-gadget: add FOTG210 USB gadget support

2013-03-29 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch would try to use Faraday FOTG210 to implement a USB RNDIS Ethernet. Signed-off-by: Kuo-Jung Su --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/fotg210.c | 926 + drivers/usb/gadget/fotg210.h | 99 +