Make sure that the PCI busses are enumerated before trying to
find a NVMe device.

Signed-off-by: Patrick Wildt <patr...@blueri.se>

diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 3570a32dff..563f1bf5fa 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -185,6 +185,7 @@
        "nvme_init=" \
                "if ${nvme_need_init}; then " \
                        "setenv nvme_need_init false; " \
+                       BOOTENV_RUN_PCI_ENUM \
                        "nvme scan; " \
                "fi\0" \
        \
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to