Patrick Delaunay | 0440d86 | 2021-02-25 13:37:00 +0100 | [diff] [blame] | 1 | config 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 Delaunay | 29b2e2e | 2021-02-25 13:37:01 +0100 | [diff] [blame] | 13 | witch update the device with the tools STM32CubeProgrammer |
Patrick Delaunay | 0440d86 | 2021-02-25 13:37:00 +0100 | [diff] [blame] | 14 | NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based |
| 15 | on U-Boot DFU framework |
| 16 | |
Patrick Delaunay | 29b2e2e | 2021-02-25 13:37:01 +0100 | [diff] [blame] | 17 | config 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 | |
| 26 | config 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 Grant | 27a5a57 | 2021-10-13 20:56:58 +1100 | [diff] [blame] | 33 | and UART protocol. |
Patrick Delaunay | 455b06a | 2022-03-28 19:25:27 +0200 | [diff] [blame] | 34 | |
| 35 | config CMD_STM32PROG_OTP |
| 36 | bool "support stm32prog for OTP update" |
| 37 | depends on CMD_STM32PROG |
Patrick Delaunay | 8da5df9 | 2022-03-28 19:25:28 +0200 | [diff] [blame] | 38 | default y if ARM_SMCCC || OPTEE |
Patrick Delaunay | 455b06a | 2022-03-28 19:25:27 +0200 | [diff] [blame] | 39 | help |
| 40 | Support the OTP update with the command "stm32prog" for STM32MP |