diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-10-15 15:01:11 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-25 11:32:31 +0100 |
commit | d8d29a4489c72ed8cbeafa42ea5c06e26b80a2e5 (patch) | |
tree | 084769b0e016fec5459d89bb5f4d8bf5992b3abf /include | |
parent | 29e5c027889ed583fd04d87927e714201b47a225 (diff) | |
download | u-boot-d8d29a4489c72ed8cbeafa42ea5c06e26b80a2e5.tar.gz |
reset: stm32: Add support of MCU HOLD BOOT
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@st.com>
Cc: Arnaud POULIQUEN <arnaud.pouliquen@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/reset/stm32mp1-resets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/stm32mp1-resets.h b/include/dt-bindings/reset/stm32mp1-resets.h index f0c3aaef67a..702da37a2e8 100644 --- a/include/dt-bindings/reset/stm32mp1-resets.h +++ b/include/dt-bindings/reset/stm32mp1-resets.h @@ -7,6 +7,7 @@ #ifndef _DT_BINDINGS_STM32MP1_RESET_H_ #define _DT_BINDINGS_STM32MP1_RESET_H_ +#define MCU_HOLD_BOOT_R 2144 #define LTDC_R 3072 #define DSI_R 3076 #define DDRPERFM_R 3080 |