[U-Boot] [U-Boot, 4/8] ahci: support LBA48 data reads for 2+TB drives

Tom Rini trini at konsulko.com
Sat Jun 13 04:10:54 CEST 2015


On Fri, Jun 05, 2015 at 12:58:45AM +0100, Andre Przywara wrote:

> From: Mark Langsdorf <mark.langsdorf at gmail.com>
> 
> 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: Mark Langsdorf <mark.langsdorf at gmail.com>
> Signed-off-by: Andre Przywara <osp at andrep.de>

With some changes to make use of CONFIG_SYS_64BIT_LBA in a few areas to
allow the common parts to compile without warning on systems that
don't set this:

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150612/7994466e/attachment.sig>


More information about the U-Boot mailing list