mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'fix/fix_mspi_write_stuck_after_reset' into 'master'
fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61 Closes WIFIBUG-1577 See merge request espressif/esp-idf!43731
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <stdint.h>
|
||||
#include "hal/assert.h"
|
||||
#include "soc/hp_system_struct.h"
|
||||
#include "soc/pcr_struct.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -36,6 +37,15 @@ static inline void axi_icm_ll_set_cache_arbiter_prio(uint8_t priority)
|
||||
HP_SYSTEM.system_axi_mst_pri.system_cache_priority = priority;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Reset system bus with soc core reset.
|
||||
* @param reset_with_core_reset True to reset system bus with soc core reset.
|
||||
*/
|
||||
static inline void axi_icm_ll_reset_with_core_reset(bool reset_with_core_reset)
|
||||
{
|
||||
PCR.reset_event_bypass.reset_event_bypass = !reset_with_core_reset;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user