]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 25 Feb 2021 12:37:01 +0000 (13:37 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:41:17 +0000 (17:41 +0100)
commit5a05af87efcb8f46fd2fcbdde145a7107315446a
treec22ac03f333e07620416080f442ee4c2300a214d
parent2dc2216692f41f724dae137946e8c5d71f6ff038
stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB

Add CONFIG_CMD_STM32PROG_SERIAL and CONFIG_CMD_STM32PROG_USB to
independently select the support of UART or USB communication for
STM32CubeProgrammer.

For serial boot over UART, user can deactivate CONFIG_CMD_STM32PROG_SERIAL
to use U-Boot console of binary loaded by UART (for board bring-up for
example).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
arch/arm/mach-stm32mp/cmd_stm32prog/Makefile
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
arch/arm/mach-stm32mp/cpu.c
board/st/common/stm32mp_dfu.c