1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/cmd
Tang Yuantian aa6ab905b2 sata: fix sata command can not being executed bug
Commit d97dc8a0 separated the non-command code into its own file
which caused variable sata_curr_device can not be set to a correct
value.

Before commit d97dc8a0, variable sata_curr_device can be set
correctly in sata_initialize().
After commit d97dc8a0, sata_initialize() is moved out to its own file.
Accordingly, variable sata_curr_device is removed from sata_initialize()
too. This caused sata_curr_device never gets a chance to be set properly
which prevent other commands from being executed.

This patch sets variable sata_curr_device properly.

Fixes: d97dc8a0 (dm: sata: Separate the non-command code into its
 own file)

Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-11-28 19:49:47 -05:00
..
2016-08-16 11:44:09 +08:00
2016-02-06 12:00:59 +01:00
2016-10-31 10:13:17 -04:00
2016-03-22 12:16:08 -04:00
2016-03-14 15:34:50 -06:00
2016-09-09 15:53:14 -04:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2016-07-16 09:43:12 -04:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:13 -04:00
2016-10-31 10:13:18 -04:00
2016-07-24 20:36:29 -05:00
2016-09-01 20:08:48 -05:00
2016-10-06 20:57:42 -04:00
2016-09-07 08:49:02 -04:00
2016-09-12 08:44:54 -04:00
2016-03-27 09:12:55 -04:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00