the following patch was just integrated into master: commit 54017e57d2430c50efdd838488e333a2e2d3935d Author: Nico Huber nico.huber@secunet.com Date: Wed Jun 20 10:08:06 2012 +0200
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
Build-Tested: build bot (Jenkins) at Wed Jun 20 22:00:32 2012, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Wed Jun 20 21:02:43 2012, giving +2 See http://review.coreboot.org/1125 for details.
-gerrit