Forráskód Böngészése

distro_bootcmd: Update DM_PCI check

Now that driver model is always used, check for PCI.

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Update logic, reword]
Signed-off-by: Tom Rini <trini@konsulko.com>
Simon Glass 2 éve
szülő
commit
e15ba68029
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      include/config_distro_bootcmd.h

+ 1 - 1
include/config_distro_bootcmd.h

@@ -265,7 +265,7 @@
 	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
 #endif
 
-#if defined(CONFIG_DM_PCI)
+#if defined(CONFIG_PCI)
 #define BOOTENV_RUN_PCI_ENUM "run boot_pci_enum; "
 #define BOOTENV_SHARED_PCI \
 	"boot_pci_enum=pci enum\0"