blob: 8f91db4b46b93cd89cbddafdd504f79dbc97dd83 [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
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
William Grant27a5a572021-10-13 20:56:58 +110033 and UART protocol.
Patrick Delaunay455b06a2022-03-28 19:25:27 +020034
35config CMD_STM32PROG_OTP
36 bool "support stm32prog for OTP update"
37 depends on CMD_STM32PROG
Patrick Delaunay8da5df92022-03-28 19:25:28 +020038 default y if ARM_SMCCC || OPTEE
Patrick Delaunay455b06a2022-03-28 19:25:27 +020039 help
40 Support the OTP update with the command "stm32prog" for STM32MP