diff options
| author | Patrick Delaunay <[email protected]> | 2023-09-26 17:09:21 +0200 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2023-10-04 13:32:41 +0200 |
| commit | 3ac6cae9440c66fcc62472fc61aae1ae014864e6 (patch) | |
| tree | 1b0fbe69b0606f79251381389200649dda7ba088 /include | |
| parent | e64e7331c280dbc3cc0f839ae84b20caf1dcc265 (diff) | |
configs: stm32mp13: activate command stm32prog
Activate the command stm32prog with CONFIG_CMD_STM32MPROG.
The CONFIG_SET_DFU_ALT_INFO is also activated to support
the required weak functions for the DFU virtual backen defined in
board/st/common/stm32mp_dfu.c.
Signed-off-by: Patrick Delaunay <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/stm32mp13_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/stm32mp13_common.h b/include/configs/stm32mp13_common.h index 7c59c69e0bd..d36fbf00548 100644 --- a/include/configs/stm32mp13_common.h +++ b/include/configs/stm32mp13_common.h @@ -41,10 +41,14 @@ /* * default bootcmd for stm32mp13: + * for serial/usb: execute the stm32prog command * for mmc boot (eMMC, SD card), distro boot on the same mmc device */ #define STM32MP_BOOTCMD "bootcmd_stm32mp=" \ "echo \"Boot over ${boot_device}${boot_instance}!\";" \ + "if test ${boot_device} = serial || test ${boot_device} = usb;" \ + "then stm32prog ${boot_device} ${boot_instance}; " \ + "else " \ "run env_check;" \ "if test ${boot_device} = mmc;" \ "then env set boot_targets \"mmc${boot_instance}\"; fi;" \ |
