diff options
author | Walter Murphy <wmurphy@google.com> | 2012-10-29 05:24:03 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-02 15:20:43 -0700 |
commit | fe1f808ce79de0caa4674340958f02780b2f81f9 (patch) | |
tree | 41192d4b7e04eea0e6565c8042a0a48733d4cc86 /common/cmd_ide.c | |
parent | 766b16fe180087d8c59a79a4f6a92d1a500fa524 (diff) | |
download | u-boot-imx-fe1f808ce79de0caa4674340958f02780b2f81f9.zip u-boot-imx-fe1f808ce79de0caa4674340958f02780b2f81f9.tar.gz u-boot-imx-fe1f808ce79de0caa4674340958f02780b2f81f9.tar.bz2 |
ahci: Expand HDD Logical Block addressability up to 32 bits
Currently, this driver uses a 28bit interface to AHCI, this
limits the number of blocks addressable to 2^28, or the max
disk size to 512(2^28) or about 137GB. This change allows
supporting drives up to about 2TB.
Testing this is a bit difficult. There is test code that
can be inserted into U-Boot that will write test patterns
into certain unused blocks. These patterns can be manually
checked using 'dd' after boot. Another way is to confirm the
original error that exposed this bug is fixed. IOW: see if
AU (Auto Update) will now work on the drive. Also, check
that there are no warning messages from the 'cgpt' utility.
Signed-off-by: Walter Murphy <wmurphy@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_ide.c')
0 files changed, 0 insertions, 0 deletions