Re: [U-Boot] [PATCH 3/3] ahci: support LBA48 data reads for 2+TB drives

2013-11-08 Thread Anatolij Gustschin
On Tue, 10 Sep 2013 15:19:17 -0500 Mark Langsdorf mark.langsd...@calxeda.com wrote: ... diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index 8cc9379..c5c942f 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c ... @@ -689,10 +696,13 @@ static int ata_scsiop_read_write(ccb

[U-Boot] [PATCH 3/3] ahci: support LBA48 data reads for 2+TB drives

2013-09-10 Thread Mark Langsdorf
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