Skip to content
Snippets Groups Projects
Commit 2b42c931 authored by Mark Langsdorf's avatar Mark Langsdorf Committed by Tom Rini
Browse files

ahci: support LBA48 data reads for 2+TB drives


Enable full 48-bit LBA48 data reads by passing the upper word of the
LBA block pointer in bytes 9 and 10 of the FIS.

This allows uboot to load data from any arbitrary sector on a drive
with 2 or more TB of available data connected to an AHCI controller.

Signed-off-by: default avatarMark Langsdorf <mark.langsdorf@gmail.com>
Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
[trini: Make use of CONFIG_SYS_64BIT_LBA in a few places to drop
 warnings on platforms that don't enable that feature ]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 35df8931
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