-
- Downloads
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>
Showing
- arch/x86/cpu/baytrail/valleyview.c 2 additions, 2 deletionsarch/x86/cpu/baytrail/valleyview.c
- arch/x86/cpu/quark/quark.c 2 additions, 2 deletionsarch/x86/cpu/quark/quark.c
- arch/x86/cpu/queensbay/topcliff.c 2 additions, 2 deletionsarch/x86/cpu/queensbay/topcliff.c
- drivers/mmc/pci_mmc.c 7 additions, 8 deletionsdrivers/mmc/pci_mmc.c
- include/mmc.h 2 additions, 4 deletionsinclude/mmc.h
Loading
Please register or sign in to comment