Files
u-boot/drivers
Tuomas Tynkkynen 8bf207d242 ata: ahci: Loop over the actual number of ports, not the maximum
The loop in ahci_start_ports() is looping over the maximum number of
SCSI devices in the system, which can be larger than the amount of ports
a particular AHCI controller has. The extra looping isn't directly
harmful because the link_port_map bitmap won't have the bit set for a
nonexistent port, but it is wasteful. Replace the loop limit with the
port count of the AHCI controller instead.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-09-25 21:49:18 -04:00
..
2018-08-03 19:53:10 -04:00
2018-09-18 08:12:21 -06:00
2018-09-18 08:12:21 -06:00
2018-09-18 08:12:21 -06:00
2018-09-18 00:01:18 -06:00
2018-07-19 16:31:38 -04:00
2018-09-18 00:01:18 -06:00
2018-09-18 00:01:18 -06:00
2018-08-11 08:07:36 +02:00