soc: stm32: use cache peripheral driver

Use the Zephyr cache API in soc initialization code instead of calling the
HAL directly. The change does not modify the pre-existing cache settings,
just changes the path they are enabled.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
This commit is contained in:
Henrik Lindblom 2025-04-15 11:20:11 +03:00 committed by Benjamin Cabé
commit 9de3d6bf64
11 changed files with 64 additions and 62 deletions

View file

@ -11,6 +11,9 @@ if SOC_FAMILY_STM32
# can override the defaults given here
rsource "*/Kconfig.defconfig"
config CACHE_STM32
default y if EXTERNAL_CACHE
config CLOCK_CONTROL
default y