[U-Boot] [PATCH v3 01/10] usb: Move 'bmRequestType' USB device request macros from EHCI header

Vivek Gautam gautamvivek1987 at gmail.com
Tue Sep 17 05:21:25 CEST 2013


Hi Marek,


On Tue, Sep 17, 2013 at 8:32 AM, Marek Vasut <marex at denx.de> wrote:
> Dear Vivek Gautam,
>
>> Macros defining bmRequestType field of USB device request,
>> given in table 9.2 USB 2.0 spec, are rather generic macros
>> which can be further used by other Host controller stacks.
>> So moving them to usb_defs header.
>>
>> Signed-off-by: Vivek Gautam <gautam.vivek at samsung.com>
>> Cc: Julius Werner <jwerner at chromium.org>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Minkyu Kang <mk7.kang at samsung.com>
>> Cc: Dan Murphy <dmurphy at ti.com>
>> Cc: Marek Vasut <marex at denx.de>
>
> Why not just use include/usb.h ?

The bit field definitions for usb-types usb-recipient, and directions
are itself defined in usb_defs.h;
so i thought of keeping their combination just below it, so that it
would not be difficult to reference.

Please let me know if you want me to move them to include/usb.h

>
> Best regards,
> Marek Vasut



-- 
Best Regards
Vivek


More information about the U-Boot mailing list