diff options
author | Ye Li <ye.li@nxp.com> | 2018-03-27 00:56:19 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-04-27 02:21:25 -0700 |
commit | 9bccfd01c618a5d059f332c000c42e5bf39880d9 (patch) | |
tree | c87e8141a7a4a8fd277d7e7a1e6e8368c9add920 /cmd/spl.c | |
parent | 8cca3efba0d508b2c267f8a32b302970dd05244d (diff) |
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>
Diffstat (limited to 'cmd/spl.c')
0 files changed, 0 insertions, 0 deletions