[PATCH 2/2] arm: mvebu: a3720: Add NVMe to BOOT_TARGET_DEVICES list

Stefan Roese sr at denx.de
Thu Jul 21 14:24:30 CEST 2022


On 23.05.22 11:14, Pali Rohár wrote:
> Enable NVMe booting on boards which have enabled NVMe drivers.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   include/configs/mvebu_armada-37xx.h | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
> index 2ed6125f5c43..d656bbc463b2 100644
> --- a/include/configs/mvebu_armada-37xx.h
> +++ b/include/configs/mvebu_armada-37xx.h
> @@ -58,6 +58,12 @@
>   #define BOOT_TARGET_DEVICES_SCSI(func)
>   #endif
>   
> +#ifdef CONFIG_NVME
> +#define BOOT_TARGET_DEVICES_NVME(func) func(NVME, nvme, 0)
> +#else
> +#define BOOT_TARGET_DEVICES_NVME(func)
> +#endif
> +
>   #if defined(CONFIG_CMD_DHCP) && defined(CONFIG_CMD_PXE)
>   #define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na)
>   #else
> @@ -74,6 +80,7 @@
>   	BOOT_TARGET_DEVICES_MMC(func, 1) \
>   	BOOT_TARGET_DEVICES_MMC(func, 0) \
>   	BOOT_TARGET_DEVICES_USB(func) \
> +	BOOT_TARGET_DEVICES_NVME(func) \
>   	BOOT_TARGET_DEVICES_SCSI(func) \
>   	BOOT_TARGET_DEVICES_PXE(func) \
>   	BOOT_TARGET_DEVICES_DHCP(func)

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list