Skip to content
Commit 11d4f8e5 authored by Luca Burelli's avatar Luca Burelli Committed by Fabio Baltieri
Browse files

soc: stm32: unify cache conditionals for F7 and H7 targets



The instruction cache in the STM32F7 and H7 was enabled regardless
of the value assigned via Kconfig to the CONFIG_ICACHE parameter.
This commit adds the missing conditional checks; note that this does
not affect the compiled behavior unless CONFIG_ICACHE is explicitly
disabled by the user.

Remove a redundant low-level check on DCache being already enabled,
since it is also performed inside the SCB_EnableDCache function.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent bd227e19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment