1config CMD_STM32PROG
2	bool "command stm32prog for STM32CudeProgrammer"
3	select DFU
4	select DFU_RAM
5	select DFU_VIRT
6	select PARTITION_TYPE_GUID
7	imply CMD_GPT if MMC
8	imply CMD_MTD if MTD
9	imply DFU_MMC if MMC
10	imply DFU_MTD if MTD
11	help
12		activate a specific command stm32prog for STM32MP soc family
13		witch update the device with the tools STM32CubeProgrammer
14		NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based
15		    on U-Boot DFU framework
16
17config CMD_STM32PROG_USB
18	bool "support stm32prog over USB"
19	depends on CMD_STM32PROG
20	default y
21	help
22		activate the command "stm32prog usb" for STM32MP soc family
23		witch update the device with the tools STM32CubeProgrammer,
24		using USB with DFU protocol
25
26config CMD_STM32PROG_SERIAL
27	bool "support stm32prog over UART"
28	depends on CMD_STM32PROG
29	default y
30	help
31		activate the command "stm32prog serial" for STM32MP soc family
32		with the tools STM32CubeProgrammer using U-Boot serial device
33		and UART protocol.
34
35config CMD_STM32PROG_OTP
36	bool "support stm32prog for OTP update"
37	depends on CMD_STM32PROG
38	default y if ARM_SMCCC || OPTEE
39	help
40		Support the OTP update with the command "stm32prog" for STM32MP
41