]> git.baikalelectronics.ru Git - uboot.git/commit
ata: dwc_ahsata: Fix sector reports for large disks
authorSoeren Moch <smoch@web.de>
Fri, 1 Mar 2019 12:10:58 +0000 (13:10 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
commitcb680e0ce7185154fe9bfa5c78c1f7f28275dc9f
tree06e0a50939113077e64688727ac5df88caaabdcc
parent9b33588d01c3dbbbfab373d5fec0be49935a3210
ata: dwc_ahsata: Fix sector reports for large disks

Do not report negative sector numbers for disks > 1TB, do not limit
sector numbers to 32 bit if CONFIG_SYS_64BIT_LBA is enabled.

Signed-off-by: Soeren Moch <smoch@web.de>
drivers/ata/dwc_ahsata.c