commit | 9a65b8754c57e8640e208b9743272b9c74527e0e | [log] [tgz] |
---|---|---|
author | Stefan Reinauer <reinauer@chromium.org> | Mon Oct 29 05:23:49 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Fri Nov 02 15:20:41 2012 -0700 |
tree | a1550cacce49b95b4f9fbd6db62ba97eaac7be91 | |
parent | 447c031ba4b6b306bb3f77690af06f5d2ad0691b [diff] |
ahci: Optimise AHCI controller reset and start-up The existing code waits a whole second for the AHCI controller to reset. Instead, let's poll the status register to see if the reset has succeeded and return earlier if possible. This brings down the time for AHCI probing from 1s to 20ms. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>