Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Stefan Bruens
On Saturday 19 December 2015 13:29:38 Simon Glass wrote: > Hi Stafan, > > On 19 December 2015 at 08:23, Stefan Bruens > > wrote: > > On Friday 18 December 2015 15:41:10 Simon Glass wrote: > >> Hi, > >> > >> On 17 December 2015 at 18:07, Stefan Brüns > > > > wrote: > >> > The configuration des

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Simon Glass
Hi Stafan, On 19 December 2015 at 08:23, Stefan Bruens wrote: > On Friday 18 December 2015 15:41:10 Simon Glass wrote: >> Hi, >> >> On 17 December 2015 at 18:07, Stefan Brüns > wrote: >> > The configuration descriptor includes all interface, endpoint and >> > auxiliary descriptors (e.g. report,

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Stefan Bruens
On Friday 18 December 2015 15:41:10 Simon Glass wrote: > Hi, > > On 17 December 2015 at 18:07, Stefan Brüns wrote: > > The configuration descriptor includes all interface, endpoint and > > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > > > Signed-off-by: Stefan B

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-18 Thread Simon Glass
Hi, On 17 December 2015 at 18:07, Stefan Brüns wrote: > The configuration descriptor includes all interface, endpoint and > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > Signed-off-by: Stefan Brüns > --- > common/usb.c | 41 +++--

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 02:07:21 AM, Stefan Brüns wrote: > The configuration descriptor includes all interface, endpoint and > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > Signed-off-by: Stefan Brüns Fine with me, Reviewed-by: Marek Vasut [...] Best

[U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-17 Thread Stefan Brüns
The configuration descriptor includes all interface, endpoint and auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. Signed-off-by: Stefan Brüns --- common/usb.c | 41 +++-- include/usb.h | 5 +++-- 2 files changed, 30 insertions(+),