summaryrefslogtreecommitdiff
path: root/drivers/clk/stm32/clk-stm32h7.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-01-31 08:32:11 -0600
committerTom Rini <trini@konsulko.com>2025-01-31 08:32:11 -0600
commita582e485338633fb2bd3b124a06da1254b71947c (patch)
tree8e762f999cd7d4eecf2c3192ef0670c1bfd2fd8e /drivers/clk/stm32/clk-stm32h7.c
parent487b254702858a69f96d0c314ab1eab66ac084e2 (diff)
parent84bbb8f59a89b24daebc9eff532df6160f049faf (diff)
Merge tag 'u-boot-stm32-20250131' of https://source.denx.de/u-boot/custodians/u-boot-stm
STM32 MPU: - Remove dt-bindings headers available in dts/upstream - Fixes for stm32prog - Enable CONFIG_SYS_64BIT_LBA for STM32MP15/13/25 defconfigs - Add upport of ck_usbo_48m in pre-reloc stage for STM32MP13 - Clean env_get_location() for STM32MP1 - Fix board_get_usable_ram_top() to fix infinite loop in cache management for STM32MP2. - Fix ck_flexgen_08 frequency for STM32MP2 STM32 MCU: - Tune CYCLIC_MAX_CPU_TIME_US to avoid cyclic warning for STM32F469-Disco - Tune CYCLIC_MAX_CPU_TIME_US to avoid cyclic warning for STM32F769-Disco
Diffstat (limited to 'drivers/clk/stm32/clk-stm32h7.c')
-rw-r--r--drivers/clk/stm32/clk-stm32h7.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/stm32/clk-stm32h7.c b/drivers/clk/stm32/clk-stm32h7.c
index a554eda504d..6acf2ff0a8f 100644
--- a/drivers/clk/stm32/clk-stm32h7.c
+++ b/drivers/clk/stm32/clk-stm32h7.c
@@ -18,6 +18,9 @@
#include <dt-bindings/clock/stm32h7-clks.h>
+/* must be equal to last peripheral clock index */
+#define LAST_PERIF_BANK SYSCFG_CK
+
/* RCC CR specific definitions */
#define RCC_CR_HSION BIT(0)
#define RCC_CR_HSIRDY BIT(2)