blob: 490097e98be8685cef20637a27eed47391c1ed6e [file] [log] [blame]
Patrick Delaunay0440d862021-02-25 13:37:00 +01001config 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
Patrick Delaunay29b2e2e2021-02-25 13:37:01 +010013 witch update the device with the tools STM32CubeProgrammer
Patrick Delaunay0440d862021-02-25 13:37:00 +010014 NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based
15 on U-Boot DFU framework
16
Patrick Delaunay29b2e2e2021-02-25 13:37:01 +010017config CMD_STM32PROG_USB
18 bool "support stm32prog over USB"
19 depends on CMD_STM32PROG
Patrick Delaunayc0269d62024-02-07 14:12:01 +010020 depends on USB_GADGET_DOWNLOAD
Patrick Delaunay29b2e2e2021-02-25 13:37:01 +010021 default y
22 help
23 activate the command "stm32prog usb" for STM32MP soc family
24 witch update the device with the tools STM32CubeProgrammer,
25 using USB with DFU protocol
26
27config CMD_STM32PROG_SERIAL
28 bool "support stm32prog over UART"
29 depends on CMD_STM32PROG
Patrice Chotardf8521722025-04-03 15:04:35 +020030 imply DISABLE_CONSOLE
31 imply SILENT_CONSOLE
Patrick Delaunay29b2e2e2021-02-25 13:37:01 +010032 default y
33 help
34 activate the command "stm32prog serial" for STM32MP soc family
35 with the tools STM32CubeProgrammer using U-Boot serial device
William Grant27a5a572021-10-13 20:56:58 +110036 and UART protocol.
Patrick Delaunay455b06a2022-03-28 19:25:27 +020037
38config CMD_STM32PROG_OTP
39 bool "support stm32prog for OTP update"
40 depends on CMD_STM32PROG
Patrick Delaunay8da5df92022-03-28 19:25:28 +020041 default y if ARM_SMCCC || OPTEE
Patrick Delaunay455b06a2022-03-28 19:25:27 +020042 help
43 Support the OTP update with the command "stm32prog" for STM32MP