Patrick Delaunay | 0440d86 | 2021-02-25 13:37:00 +0100 | [diff] [blame] | 1 | |
| 2 | config CMD_STM32PROG |
| 3 | bool "command stm32prog for STM32CudeProgrammer" |
| 4 | select DFU |
| 5 | select DFU_RAM |
| 6 | select DFU_VIRT |
| 7 | select PARTITION_TYPE_GUID |
| 8 | imply CMD_GPT if MMC |
| 9 | imply CMD_MTD if MTD |
| 10 | imply DFU_MMC if MMC |
| 11 | imply DFU_MTD if MTD |
| 12 | help |
| 13 | activate a specific command stm32prog for STM32MP soc family |
Patrick Delaunay | 29b2e2e | 2021-02-25 13:37:01 +0100 | [diff] [blame^] | 14 | witch update the device with the tools STM32CubeProgrammer |
Patrick Delaunay | 0440d86 | 2021-02-25 13:37:00 +0100 | [diff] [blame] | 15 | NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based |
| 16 | on U-Boot DFU framework |
| 17 | |
Patrick Delaunay | 29b2e2e | 2021-02-25 13:37:01 +0100 | [diff] [blame^] | 18 | config CMD_STM32PROG_USB |
| 19 | bool "support stm32prog over USB" |
| 20 | depends on CMD_STM32PROG |
| 21 | 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 | |
| 27 | config CMD_STM32PROG_SERIAL |
| 28 | bool "support stm32prog over UART" |
| 29 | depends on CMD_STM32PROG |
| 30 | default y |
| 31 | help |
| 32 | activate the command "stm32prog serial" for STM32MP soc family |
| 33 | with the tools STM32CubeProgrammer using U-Boot serial device |
| 34 | and UART protocol. |