diff mbox series

[1/1] boot/uboot: add support for u-boot-nand.imx

Message ID 20251029123356.1776894-1-matthew.allen@fleet.space
State New
Headers show
Series [1/1] boot/uboot: add support for u-boot-nand.imx | expand

Commit Message

Matthew Allen Oct. 29, 2025, 12:33 p.m. UTC
Signed-off-by: Matthew Allen <matthew.allen@fleet.space>
---
 boot/uboot/Config.in | 3 +++
 boot/uboot/uboot.mk  | 5 +++++
 2 files changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index d40e1e95e0..cea323425a 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -364,6 +364,9 @@  config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
 config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
 	bool "u-boot-nand.bin"
 
+config BR2_TARGET_UBOOT_FORMAT_NAND_IMX
+	bool "u-boot-nand.imx"
+
 config BR2_TARGET_UBOOT_FORMAT_ELF
 	bool "u-boot"
 	help
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 7bd0937df2..15f53a8196 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -81,6 +81,11 @@  ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
 UBOOT_BINS += u-boot-nand.bin
 endif
 
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_IMX),y)
+UBOOT_BINS += u-boot-nand.imx
+UBOOT_MAKE_TARGET += u-boot-nand.imx
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMG),y)
 UBOOT_BINS += u-boot-dtb.img
 UBOOT_MAKE_TARGET += u-boot-dtb.img