diff options
author | Nico Huber <nico.huber@secunet.com> | 2013-06-06 10:20:35 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-06-13 22:16:39 +0200 |
commit | aee44fa37d780cfec95c444f43defd89ded021f0 (patch) | |
tree | 55fc6d2955f6e8cfb0b452c24c33b4a47225a5d4 /payloads/bayou | |
parent | 482af6d15ca8eed28b51edc11692815419326d65 (diff) |
libpayload: usb: Add interval attribute to endpoints
Read bInterval from endpoint descriptors and store it in our endpoint_t
struct. The interval is encoded dependently on the device' speed and the
endpoint's type. Therefore, it will be normalized to the binary logarithm
of the number of microframes, i.e.
t = 125us * 2^interval
The interval attribute will be used in the xHCI driver.
Change-Id: I65a8eda6145faf34666800789f0292e640a8141b
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/3449
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/bayou')
0 files changed, 0 insertions, 0 deletions