Skip to content
  • Simon Glass's avatar
    dm: Convert PCI MMC over to use DM PCI API · 4abe8e40
    Simon Glass authored
    
    
    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: default avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
    4abe8e40