diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-14 15:58:31 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-14 15:58:31 -0600 |
commit | b03b49046af5dfca599d2ce8f0aafed89b97aa91 (patch) | |
tree | 36f06c2f124f8181549bc57a59777976ed1eaee1 /include/usb.h | |
parent | 57cb92de7a9d01be1ce72af003651efc80ac67e2 (diff) | |
parent | 63f6a449bffe46beca89580d3efa48e5d041025c (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-usb
Diffstat (limited to 'include/usb.h')
-rw-r--r-- | include/usb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h index 09e3f0cb309..3aafdc8bfd1 100644 --- a/include/usb.h +++ b/include/usb.h @@ -49,6 +49,12 @@ extern bool usb_started; /* flag for the started/stopped USB status */ */ #define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 1000) +/* + * The xhcd hcd driver prepares only a limited number interfaces / endpoints. + * Define this limit so that drivers do not exceed it. + */ +#define USB_MAX_ACTIVE_INTERFACES 2 + /* device request (setup) */ struct devrequest { __u8 requesttype; |