diff options
author | Ye Li <ye.li@nxp.com> | 2017-05-24 02:12:04 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-05-24 03:21:53 -0500 |
commit | 2bfe86770d875de180f698a65371417d7cd67c43 (patch) | |
tree | 40b28a48a0b2a8b685dbac735fcfdc972fbb7d74 /arch/arm/thumb1 | |
parent | a4461cb2d050d7556fb163b8241a05a76ec42e69 (diff) | |
download | u-boot-imx-2bfe86770d875de180f698a65371417d7cd67c43.zip u-boot-imx-2bfe86770d875de180f698a65371417d7cd67c43.tar.gz u-boot-imx-2bfe86770d875de180f698a65371417d7cd67c43.tar.bz2 |
MLK-14930-1 cmd: sata: Fix sata init and stop issue
When sata stop is executed, the sata_curr_device is not reset to -1, so
any following sata commands will not initialize the sata again and cause
problem.
Additional, in sata init implementation, the sata_curr_device should be updated,
otherwise sata will be initialized again when doing other sata commands like
read/write/info/part/device.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e2a66807f3573e8344dcd285dcb7d53f0e5fcf8e)
Diffstat (limited to 'arch/arm/thumb1')
0 files changed, 0 insertions, 0 deletions