Made await_ide(), which polls for an ide status change, check the status
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>
Wed, 22 Oct 2008 22:30:17 +0000 (22:30 +0000)
committerMarc Jones <marc.jones@amd.com>
Wed, 22 Oct 2008 22:30:17 +0000 (22:30 +0000)
commitc811a1c6aef38f53fadc4d51b17c56116d2baaac
tree7ee6a00c58dee295ebec187e28b9a57f4e843127
parentf6fa12d89e8b260bae9652406b8a4ce519c783e0
Made await_ide(), which polls for an ide status change, check the status
reg much more often. In my case this reduced the time spent in coreboot
by 1.5 sec!
The timeout values of course aren't changed, only the granularity. Also,
I didn't see any udelay() implementation that looked like it couldn't
cope with 10 us delays. (Most are written as for (...) inb(0x80) loops.)

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3690 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/pc80/ide/ide.c