Simon Glass 4abe8e40a7 dm: Convert PCI MMC over to use DM PCI API
At present pci_mmc_init() does not correctly use the PCI function since the
list it passes is not terminated. The array size passed to pci_mmc_init() is
actually not used correctly. Fix this and adjust the pci_mmc_init() to scan
all available MMC devices.

Adjust this code to use the new driver model PCI API.

This should move over to the new MMC uclass at some point.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-12 10:19:09 -07:00
..
2015-10-20 22:48:28 +02:00
2015-05-05 12:29:36 +03:00
2015-11-03 14:21:31 +01:00
2015-08-13 11:24:26 +03:00
2015-07-21 17:39:25 -06:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2014-12-05 11:16:22 +09:00
2015-09-29 11:50:07 +02:00
2015-12-07 10:14:29 +01:00