[U-Boot] [PATCH] NVMe: do PCI enumerate before nvme scan
Bin Meng
bmeng.cn at gmail.com
Thu Oct 3 01:07:10 UTC 2019
Hi Patrick,
On Thu, Oct 3, 2019 at 3:58 AM Patrick Wildt <patrick at blueri.se> wrote:
>
> Make sure that the PCI busses are enumerated before trying to
> find a NVMe device.
>
> Signed-off-by: Patrick Wildt <patrick at 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 \
I think we need insert this to "nvme_boot=", just like "virtio_boot=" does.
> "nvme scan; " \
> "fi\0" \
> \
Regards,
Bin
More information about the U-Boot
mailing list