]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: Enable CONFIG_SYS_64BIT_LBA when AHCI is used
authorBernhard Nortmann <bernhard.nortmann@web.de>
Wed, 10 Jun 2015 08:51:40 +0000 (10:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:36 +0000 (00:42 +0200)
commitffefd8e5040e61f9335c2bd50dcd13a536170a12
tree0a1fdadab15f505b7ec3c826ccf9ae58d843e0b5
parentb529f16e5f290e17591d2da59d60619073cf9ff0
sunxi: Enable CONFIG_SYS_64BIT_LBA when AHCI is used

Due to absence of CONFIG_SYS_64BIT_LBA, u-boot-sunxi currently has
no support for the (GPT) partioning scheme of large disks > 2TB.
While the AHCI driver seems to handle this nicely, the problem is
that lbaint_t values get truncated to 32-bit.

This patch sets CONFIG_SYS_64BIT_LBA from sunxi_common.h for all
SoCs that support AHCI (CONFIG_SUNXI_AHCI).

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/configs/sunxi-common.h