From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marvin Wewer Date: Sun, 16 Nov 2025 13:44:00 +0000 Subject: sunxi: Add NVME boot target support Signed-off-by: Marvin Wewer --- include/configs/sunxi-common.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 111111111111..222222222222 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -208,6 +208,12 @@ #define BOOT_TARGET_DEVICES_DHCP(func) #endif +#ifdef CONFIG_CMD_NVME +#define BOOT_TARGET_DEVICES_NVME(func) func(NVME, nvme, 0) +#else +#define BOOT_TARGET_DEVICES_NVME(func) +#endif + /* FEL boot support, auto-execute boot.scr if a script address was provided */ #define BOOTENV_DEV_FEL(devtypeu, devtypel, instance) \ "bootcmd_fel=" \ @@ -220,6 +226,7 @@ #define BOOT_TARGET_DEVICES(func) \ func(FEL, fel, na) \ + BOOT_TARGET_DEVICES_NVME(func) \ BOOT_TARGET_DEVICES_MMC(func) \ BOOT_TARGET_DEVICES_SCSI(func) \ BOOT_TARGET_DEVICES_USB(func) \ -- Armbian