mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/psram_core_clk_enable_v6.0' into 'release/v6.0'
fix(mspi): enable PSRAM core clock in module clock init (v6.0) See merge request espressif/esp-idf!46848
This commit is contained in:
@@ -341,6 +341,7 @@ static inline void _psram_ctrlr_ll_enable_module_clock(uint32_t mspi_id, bool en
|
|||||||
(void)mspi_id;
|
(void)mspi_id;
|
||||||
HP_SYS_CLKRST.soc_clk_ctrl0.reg_psram_sys_clk_en = en;
|
HP_SYS_CLKRST.soc_clk_ctrl0.reg_psram_sys_clk_en = en;
|
||||||
HP_SYS_CLKRST.peri_clk_ctrl00.reg_psram_pll_clk_en = en;
|
HP_SYS_CLKRST.peri_clk_ctrl00.reg_psram_pll_clk_en = en;
|
||||||
|
HP_SYS_CLKRST.peri_clk_ctrl00.reg_psram_core_clk_en = en;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// use a macro to wrap the function, force the caller to use it in a critical section
|
/// use a macro to wrap the function, force the caller to use it in a critical section
|
||||||
|
|||||||
Reference in New Issue
Block a user