]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/board_r.c
dm: pci: Add a uclass for PCI
[people/ms/u-boot.git] / common / board_r.c
index 0335f6bde6ce78f002d34b3ef05b2c14b91b86d7..af01e1cb9983e849b7ad14d95a3f0c9a4aec0495 100644 (file)
@@ -230,7 +230,9 @@ static int initr_unlock_ram_in_cache(void)
 #ifdef CONFIG_PCI
 static int initr_pci(void)
 {
+#ifndef CONFIG_DM_PCI
        pci_init();
+#endif
 
        return 0;
 }