[PATCH 1/3] reset: stm32: Add support of MCU HOLD BOOT

Patrick DELAUNAY patrick.delaunay at st.com
Wed Nov 25 11:34:09 CET 2020


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: jeudi 15 octobre 2020 15:01
> 
> Handle the register RCC_MP_GCR without SET/CLR registers but with a direct
> access to bit BOOT_MCU:
> - deassert => set the bit: The MCU will not be in HOLD_BOOT
> - assert => clear the bit: The MCU will be set in HOLD_BOOT
> 
> With this patch the RCC driver handles the MCU_HOLD_BOOT_R value added in
> binding stm32mp1-resets.h
> 
> Cc: Fabien DESSENNE <fabien.dessenne at st.com>
> Cc: Arnaud POULIQUEN <arnaud.pouliquen at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  drivers/reset/stm32-reset.c                 | 17 +++++++++++++----
>  include/dt-bindings/reset/stm32mp1-resets.h |  1 +
>  2 files changed, 14 insertions(+), 4 deletions(-)
> 

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

Regards

Patrick


More information about the U-Boot mailing list