* [PATCH] rk3399: Enable NVMe distro bootcmd
@ 2020-05-24 21:10 Mark Kettenis
2020-05-25 2:53 ` Kever Yang
0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2020-05-24 21:10 UTC (permalink / raw)
To: u-boot
Include NVME in the list of boot targets if CONFIG_NVME is enabled.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
---
include/configs/rockchip-common.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index bf8c60d6dd..0b9e24d1db 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -23,6 +23,12 @@
#define BOOT_TARGET_MMC(func)
#endif
+#if CONFIG_IS_ENABLED(CMD_NVME)
+ #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
+#else
+ #define BOOT_TARGET_NVME(func)
+#endif
+
#if CONFIG_IS_ENABLED(CMD_USB)
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
#else
@@ -50,6 +56,7 @@
#ifdef CONFIG_ROCKCHIP_RK3399
#define BOOT_TARGET_DEVICES(func) \
BOOT_TARGET_MMC(func) \
+ BOOT_TARGET_NVME(func) \
BOOT_TARGET_USB(func) \
BOOT_TARGET_PXE(func) \
BOOT_TARGET_DHCP(func) \
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] rk3399: Enable NVMe distro bootcmd
2020-05-24 21:10 [PATCH] rk3399: Enable NVMe distro bootcmd Mark Kettenis
@ 2020-05-25 2:53 ` Kever Yang
0 siblings, 0 replies; 2+ messages in thread
From: Kever Yang @ 2020-05-25 2:53 UTC (permalink / raw)
To: u-boot
On 2020/5/25 ??5:10, Mark Kettenis wrote:
> Include NVME in the list of boot targets if CONFIG_NVME is enabled.
>
> Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> include/configs/rockchip-common.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
> index bf8c60d6dd..0b9e24d1db 100644
> --- a/include/configs/rockchip-common.h
> +++ b/include/configs/rockchip-common.h
> @@ -23,6 +23,12 @@
> #define BOOT_TARGET_MMC(func)
> #endif
>
> +#if CONFIG_IS_ENABLED(CMD_NVME)
> + #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
> +#else
> + #define BOOT_TARGET_NVME(func)
> +#endif
> +
> #if CONFIG_IS_ENABLED(CMD_USB)
> #define BOOT_TARGET_USB(func) func(USB, usb, 0)
> #else
> @@ -50,6 +56,7 @@
> #ifdef CONFIG_ROCKCHIP_RK3399
> #define BOOT_TARGET_DEVICES(func) \
> BOOT_TARGET_MMC(func) \
> + BOOT_TARGET_NVME(func) \
> BOOT_TARGET_USB(func) \
> BOOT_TARGET_PXE(func) \
> BOOT_TARGET_DHCP(func) \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-25 2:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 21:10 [PATCH] rk3399: Enable NVMe distro bootcmd Mark Kettenis
2020-05-25 2:53 ` Kever Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.