Re: [U-Boot] [PATCH v3 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-08-02 Thread Lukasz Majewski
Dear Mike, On Tuesday 31 July 2012 02:36:58 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/usb/gadget/f_dfu.c +static struct usb_interface_descriptor dfu_intf_runtime = { can this be made const ? Unfortunately those structs cannot be const, since some of their fields are filled

Re: [U-Boot] [PATCH v3 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:36:58 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/usb/gadget/f_dfu.c +static struct usb_interface_descriptor dfu_intf_runtime = { can this be made const ? +static struct usb_descriptor_header *dfu_runtime_descs[] = { + (struct usb_descriptor_header *)

[U-Boot] [PATCH v3 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-07-31 Thread Lukasz Majewski
Support for f_dfu USB function. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Replace kzalloc and kfree with free and calloc - Reorganization of calloc calls - Misspelling