]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
NVMe: do PCI enumerate before nvme scan
authorPatrick Wildt <patrick@blueri.se>
Thu, 3 Oct 2019 09:10:57 +0000 (11:10 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 31 Oct 2019 11:22:53 +0000 (07:22 -0400)
Make sure that the PCI busses are enumerated before trying to
find a NVMe device.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/config_distro_bootcmd.h

index 3570a32dff86b0eec462b7eaab4d54e78adde58d..fc0935fa21af7c0fd6092fe9514aaea1f1be1a1f 100644 (file)
                "fi\0" \
        \
        "nvme_boot=" \
+               BOOTENV_RUN_PCI_ENUM \
                BOOTENV_RUN_NVME_INIT \
                BOOTENV_SHARED_BLKDEV_BODY(nvme)
 #define BOOTENV_DEV_NVME       BOOTENV_DEV_BLKDEV