diff options
author | Terry <r65388@freescale.com> | 2011-01-11 19:05:51 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-01-11 20:24:10 +0800 |
commit | 84d9443bc45af09dcc8712536becf52fdb8c0de5 (patch) | |
tree | 2bd1c72ae6284e4ee1069b7aeb0e5b2e55a22b65 /lib_mips/time.c | |
parent | 63926913016bd8ce0b8b14175239c2d23ace636f (diff) | |
download | u-boot-imx-84d9443bc45af09dcc8712536becf52fdb8c0de5.zip u-boot-imx-84d9443bc45af09dcc8712536becf52fdb8c0de5.tar.gz u-boot-imx-84d9443bc45af09dcc8712536becf52fdb8c0de5.tar.bz2 |
ENGR00136869: SATA device can't init and a typo in sata help
SATA device can't init and a typo in sata help.
Add delay in sata detect proceduce.
Currently, I have met 3 problems for this issue.
1. Seagate HD. It needs 1000 for timeout.
2. Hitachi HD. It needs 10000 for timeout.
3. In sata env case, it needs 100000 for timeout.
10000000 for timeout is just to avoid a dead loop,
And suppose this timeout should be enough for all normal
case.
It doesn't mean all HD need to wait this long time,
If tfd is ok, the loop will be breaked immediately.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'lib_mips/time.c')
0 files changed, 0 insertions, 0 deletions