diff options
author | Walter Murphy <wmurphy@google.com> | 2012-10-29 05:24:00 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-02 15:20:42 -0700 |
commit | 57847660bb9ddba1d4bc9c1dc551730f71c097a7 (patch) | |
tree | 543e0a1476f958dcd4d4e0450adc62a956a61360 /net/sntp.c | |
parent | 90b276f6a2a9e197eadce297fd593d85397bc430 (diff) | |
download | u-boot-imx-57847660bb9ddba1d4bc9c1dc551730f71c097a7.zip u-boot-imx-57847660bb9ddba1d4bc9c1dc551730f71c097a7.tar.gz u-boot-imx-57847660bb9ddba1d4bc9c1dc551730f71c097a7.tar.bz2 |
ahci: Adjust SATA timeouts for hard disk (spinup delay & command timeout)
Note: These are timeout values and not delay values, so the event being
timed out will complete whenever it is actually ready, with a
measurement granularity of 1 millisecond, up till the timeout value.
Therefore, there is no effect on SSD booting.
The values were determined by instrumenting the code and measuring the
actual time taken by several different models of HDD for each of the
parameters and then adding 50% more for the spinup value and just
doubling the command timeout value.
Signed-off-by: Walter Murphy <wmurphy@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/sntp.c')
0 files changed, 0 insertions, 0 deletions