Files
u-boot/include
Simon Glass 7cf1afce7f dm: ahci: Unwind the confusing init code
Two AHCI drivers use SCSI with CONFIG_DM_SCSI. The SCSI uclass calls
scsi_low_level_init() which is implemented by ahci.c. If
CONFIG_SCSI_AHCI_PLAT is defined it does one thing and if it is not
it does something else.

We don't need to call through scsi_low_level_init() to get the init
completed. Instead, adjust the two drivers to call into AHCI directly.
Drop the post-probe init in the SCSI uclass. This means that driver model
doesn't need to use scsi_low_level_init(). It is a legacy function and
driver model should use a driver's probe() method instead.

While we are here, add a comment to the top of the file explaining what
ahci.c does.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2017-07-11 10:08:19 -06:00
..
2017-07-03 17:35:28 -04:00
2017-07-06 16:17:19 -04:00
2016-12-03 13:21:21 -05:00
2017-02-07 10:54:32 -06:00
2017-02-08 15:56:28 -05:00
2017-06-05 11:02:29 -04:00
2017-06-10 10:01:05 -04:00
2016-10-19 09:01:51 +02:00
2017-05-11 22:21:27 -04:00
2017-04-13 09:41:10 -04:00
2017-05-15 20:32:12 +02:00
2016-11-14 23:24:03 +01:00
2017-06-03 17:55:34 -04:00
2017-06-02 10:16:46 -06:00
2017-06-01 07:03:11 -06:00
2016-12-08 10:36:22 -06:00
2017-06-12 08:37:55 -04:00
2001-11-03 22:15:16 +00:00
2017-04-14 19:38:57 -06:00
2002-09-17 21:37:55 +00:00
2016-06-19 17:05:55 -06:00
2016-08-12 11:01:22 -06:00
2017-06-12 08:37:55 -04:00
2016-02-05 12:47:21 +08:00
2017-06-12 08:37:55 -04:00
2017-07-03 17:35:28 -04:00
2008-10-18 21:54:03 +02:00
2017-04-10 10:02:03 +08:00
2017-07-03 17:35:28 -04:00
2016-08-17 10:25:35 +09:00
2017-06-01 07:03:16 -06:00
2017-05-15 10:38:09 -04:00
2012-05-15 08:31:40 +02:00
2016-09-26 13:24:43 -04:00
2017-04-12 13:28:27 -04:00
2016-10-12 10:56:51 +08:00
2016-10-23 18:33:48 -04:00
2016-10-31 10:13:17 -04:00
2017-05-08 11:57:30 -04:00