diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 13d45140eb..f17f932c9e 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -470,6 +470,14 @@ config BR2_TARGET_UBOOT_FORMAT_SD See doc/README.mxs (or doc/README.mx28_common before 2013.07) +config BR2_TARGET_UBOOT_FORMAT_QSPI_BIN + bool "qspi.bin" + depends on BR2_TARGET_UBOOT_ZYNQMP + help + When booting from qspi flash, u-boot can generate a single + file for flashing by combining the spl/boot.bin and + u-boot.itb files into a unified binary. + config BR2_TARGET_UBOOT_FORMAT_STM32 bool "u-boot.stm32" depends on BR2_arm diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index efecf2ca47..2796b0a310 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -108,6 +108,10 @@ UBOOT_MAKE_TARGET += u-boot.itb endif endif +ifeq ($(BR2_TARGET_UBOOT_FORMAT_QSPI_BIN),y) +UBOOT_BINS += qspi.bin +endif + ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y) UBOOT_BINS += u-boot.imx UBOOT_MAKE_TARGET += u-boot.imx