[PATCH] stm32mp: stpmic1: remove the debug unit request by debugger

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Jun 17 11:16:52 CEST 2022


Hi,

On 6/1/22 18:33, Patrick Delaunay wrote:
> Depending on backup register value, U-Boot SPL maintains the debug unit
> powered-on for debugging purpose; only BUCK1 is required for powering
> the debug unit, so revert the setting for all the other power lanes,
> except BUCK3 that has to be always on.
>
> To be functional this patch requires a modification in the debugger
> ,openocd for example, to update the STM32MP15 backup register when it is
> required to debug SPL after reset. After deeper analysis this behavior
> will be never supported in tools so the associated code, will be never
> used and the associated code can be removed.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
>   arch/arm/mach-stm32mp/include/mach/stm32.h |  1 -
>   board/st/common/stpmic1.c                  | 14 --------------
>   include/power/stpmic1.h                    |  3 ---
>   3 files changed, 18 deletions(-)
>

Applied to u-boot-stm/next, thanks!

Regards
Patrick



More information about the U-Boot mailing list