summaryrefslogtreecommitdiff
path: root/net/ping.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-10-29 05:23:49 (GMT)
committerTom Rini <trini@ti.com>2012-11-02 22:20:41 (GMT)
commit9a65b8754c57e8640e208b9743272b9c74527e0e (patch)
treea1550cacce49b95b4f9fbd6db62ba97eaac7be91 /net/ping.c
parent447c031ba4b6b306bb3f77690af06f5d2ad0691b (diff)
downloadu-boot-fsl-qoriq-9a65b8754c57e8640e208b9743272b9c74527e0e.tar.xz
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>
Diffstat (limited to 'net/ping.c')
0 files changed, 0 insertions, 0 deletions