feat(stm32mp2): add compilation for USB boot

Update the files to support STM32MP_USB_PROGRAMMER=1 compilation flag.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I1bea8cada8a85fd4a9e2e9d0754a033306fca08f
diff --git a/group/tf-l1-build-plat/stm32mp2-usb:nil b/group/tf-l1-build-plat/stm32mp2-usb:nil
new file mode 100644
index 0000000..b5a3cc6
--- /dev/null
+++ b/group/tf-l1-build-plat/stm32mp2-usb:nil
@@ -0,0 +1,6 @@
+#
+# Copyright (c) 2024 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 535e424..6dfba12 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -691,6 +691,11 @@
     SPD=opteed STM32MP_DDR4_TYPE=1 \
     BUILD_PLAT=build/stm32mp2-mp25-sdmmc/debug
 
+# STM32MP25 USB boot
+make ${stm32mp2_common_flags} STM32MP_USB_PROGRAMMER=1 \
+    SPD=opteed STM32MP_DDR4_TYPE=1 \
+    BUILD_PLAT=build/stm32mp2-mp25-sdmmc/debug
+
 # Platforms from TI
 make PLAT=k3 $(common_flags) all
 make PLAT=k3 TARGET_BOARD=j784s4 $(common_flags) all
diff --git a/tf_config/stm32mp2-usb b/tf_config/stm32mp2-usb
new file mode 100644
index 0000000..3e46f86
--- /dev/null
+++ b/tf_config/stm32mp2-usb
@@ -0,0 +1,7 @@
+ARCH=aarch64
+CROSS_COMPILE=aarch64-none-elf-
+DTB_FILE_NAME=stm32mp257f-ev1.dtb
+PLAT=stm32mp2
+SPD=opteed
+STM32MP_DDR4_TYPE=1
+STM32MP_USB_PROGRAMMER=1