diff options
author | Nico Huber <nico.huber@secunet.com> | 2012-06-20 10:08:06 +0200 |
---|---|---|
committer | Nico Huber <nico.huber@secunet.com> | 2012-06-21 11:55:10 +0200 |
commit | 9951adeffd02c0226c5dd9dcbddbab9d86e28ee4 (patch) | |
tree | e68d40a10db03be7ce72ecd1452afa33e95b6644 /payloads/coreinfo/cpuinfo_module.c | |
parent | ac8d5508541874b60aae6363f50e56f7df40b27f (diff) |
libpayload: Implement correct done queue processing for OHCI
This adds correct processing of the done queue of the OHCI host
controller (HC). We will always process the done queue after a control
or bulk transfer. Unfortunately, it's hard to tell when the HC will
write out the done queue, so we have do free the transfer descriptors
later and have to allocate them one by one.
To distinguish different types of TDs (e.g. async vs. interrupt
transfers) on the done queue, they are flagged in the lsb of there
.config field. We can utilize this bit for our own purpose, as it's
reserved and the host controller won't interpret it and preserves its
state.
Change-Id: I3b2271ae6221cdd50fc0f94582afdfe52bf7e797
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1125
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/coreinfo/cpuinfo_module.c')
0 files changed, 0 insertions, 0 deletions