summaryrefslogtreecommitdiff
path: root/chip/stm32/clock-stm32h7.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/clock-stm32h7.c')
-rw-r--r--chip/stm32/clock-stm32h7.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/stm32/clock-stm32h7.c b/chip/stm32/clock-stm32h7.c
index 9dd1f94f95..f454571e8e 100644
--- a/chip/stm32/clock-stm32h7.c
+++ b/chip/stm32/clock-stm32h7.c
@@ -191,6 +191,14 @@ void clock_enable_module(enum module_id module, int enable)
void clock_init(void)
{
+ /*
+ * STM32H743 Errata 2.2.15:
+ * 'Reading from AXI SRAM might lead to data read corruption'
+ *
+ * limit concurrent read access on AXI master to 1.
+ */
+ STM32_AXI_TARG_FN_MOD(7) |= READ_ISS_OVERRIDE;
+
#if 0 /* Keep default for now: HSI at 64 Mhz */
clock_set_osc(OSC_PLL);
#endif