mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-09 00:36:59 +02:00
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>
This commit is contained in:
parent
97b34f6ace
commit
f226ec1e49
@ -17,6 +17,7 @@ config CMD_STM32PROG
|
|||||||
config CMD_STM32PROG_USB
|
config CMD_STM32PROG_USB
|
||||||
bool "support stm32prog over USB"
|
bool "support stm32prog over USB"
|
||||||
depends on CMD_STM32PROG
|
depends on CMD_STM32PROG
|
||||||
|
depends on USB_GADGET_DOWNLOAD
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
activate the command "stm32prog usb" for STM32MP soc family
|
activate the command "stm32prog usb" for STM32MP soc family
|
||||||
|
Loading…
Reference in New Issue
Block a user