Skip to content
Snippets Groups Projects
Commit 284231e4 authored by Vadim Bendebury's avatar Vadim Bendebury Committed by Tom Rini
Browse files

ahci: Support splitting of read transactions into multiple chunks


With an Intel AHCI controller, the driver does not operate properly
if the requested amount of blocks to read exceeds 255.

It is probably possible to specify 0 as the block count and the driver
will read 256 blocks, but it was decided to limit the number of blocks
read at once to 128 (it should be a power of 2 for the optimal
performance of solid state drives).

Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent e08ebf46
No related branches found
No related tags found
Loading
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