]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: cmd_stm32prog: add dependencies with USB_GADGET_DOWNLOAD
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 7 Feb 2024 13:12:01 +0000 (14:12 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 08:27:18 +0000 (10:27 +0200)
commitf226ec1e492740b900b39691517f534d60c1631c
tree104f4fe491e38834fe2e9400d7186d7460690dd4
parent97b34f6ace539c9c16eb8565f8b58730848ba97a
stm32mp: cmd_stm32prog: add dependencies with USB_GADGET_DOWNLOAD

This patch avoids compilation issue when CONFIG_USB_GADGET is deactivated
in defconfig, with undefined reference to run_usb_dnl_gadget and to
g_dnl_set_product.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig