Skip to content
Snippets Groups Projects
Commit 9a65b875 authored by Stefan Reinauer's avatar Stefan Reinauer Committed by Tom Rini
Browse files

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: default avatarStefan Reinauer <reinauer@chromium.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 447c031b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment