Hi,
On 9/26/23 17:09, Patrice Chotard wrote:
From: Patrick Delaunay <[email protected]>
split the file stm32mp_dfu.c in two files to simplify the Makefile
- stm32mp_dfu.c: required by CONFIG_SET_DFU_ALT_INFO
- stm32mp_dfu_virt.c: required by CONFIG_DFU_VIRT for stm32prog
command or VIRT device for PMIC for CONFIG_SET_DFU_ALT_INFO.
This patch also remove some remaining #ifdef CONFIG
and avoid compilation error when CONFIG_SET_DFU_ALT_INFO is not
activated.
Signed-off-by: Patrick Delaunay <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
---
board/st/common/Makefile | 1 +
board/st/common/stm32mp_dfu.c | 103 ++---------------------------
board/st/common/stm32mp_dfu_virt.c | 99 +++++++++++++++++++++++++++
3 files changed, 104 insertions(+), 99 deletions(-)
create mode 100644 board/st/common/stm32mp_dfu_virt.c
Reviewed-by: Patrick Delaunay <[email protected]>
Thanks
Patrick