]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
distro_bootcmd: Update DM_PCI check
authorSimon Glass <sjg@chromium.org>
Mon, 2 Aug 2021 00:54:38 +0000 (18:54 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 6 Aug 2021 12:26:09 +0000 (08:26 -0400)
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>
include/config_distro_bootcmd.h

index e70423f25ddd18ac910003d82cd22ca59f8f251b..750e9e04e8f44f9953819cd4f071c3f977e8981a 100644 (file)
        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"