summaryrefslogtreecommitdiff
path: root/include/config_distro_bootcmd.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-02 03:54:38 +0300
committerTom Rini <trini@konsulko.com>2021-08-06 15:26:09 +0300
commite15ba6802912a30da0de92c20dbe574f25a96d21 (patch)
treee3788baf302fec6a548769396a884d5d89f7e9e4 /include/config_distro_bootcmd.h
parent6b4a2a5c865f649eaaaad24068f63ef80ef5ad97 (diff)
downloadu-boot-e15ba6802912a30da0de92c20dbe574f25a96d21.tar.xz
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>
Diffstat (limited to 'include/config_distro_bootcmd.h')
-rw-r--r--include/config_distro_bootcmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index e70423f25d..750e9e04e8 100644
--- a/include/config_distro_bootcmd.h
+++ b/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"