Browse Source

clock_controller: stm32n6: Remove AXISRAM3/4/5/6 clocks handling

Now that they are handled through their dedicated driver, remove
clock activation for AXISRAM3/4/5/6 (which was useless anyway as
RAMCFG part was missing).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
pull/89290/head
Erwan Gouriou 2 weeks ago committed by Dan Kalowsky
parent
commit
48dc588636
  1. 9
      drivers/clock_control/clock_stm32_ll_n6.c

9
drivers/clock_control/clock_stm32_ll_n6.c

@ -923,12 +923,11 @@ int stm32_clock_control_init(const struct device *dev) @@ -923,12 +923,11 @@ int stm32_clock_control_init(const struct device *dev)
ARG_UNUSED(dev);
/* For now, enable clocks (including low_power ones) of all RAM */
uint32_t all_ram = LL_MEM_AXISRAM1 | LL_MEM_AXISRAM2 | LL_MEM_AXISRAM3 | LL_MEM_AXISRAM4 |
LL_MEM_AXISRAM5 | LL_MEM_AXISRAM6 | LL_MEM_AHBSRAM1 | LL_MEM_AHBSRAM2 |
/* For now, enable clocks (including low_power ones) of misc RAM */
uint32_t misc_ram = LL_MEM_AXISRAM1 | LL_MEM_AXISRAM2 | LL_MEM_AHBSRAM1 | LL_MEM_AHBSRAM2 |
LL_MEM_BKPSRAM | LL_MEM_FLEXRAM | LL_MEM_CACHEAXIRAM | LL_MEM_VENCRAM;
LL_MEM_EnableClock(all_ram);
LL_MEM_EnableClockLowPower(all_ram);
LL_MEM_EnableClock(misc_ram);
LL_MEM_EnableClockLowPower(misc_ram);
/* Set up individual enabled clocks */
set_up_fixed_clock_sources();

Loading…
Cancel
Save