mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
Merge branch 'fix/p4_fixed_mdc_config_v6.0' into 'release/v6.0'
fix(esp_eth): fixed ESP32P4 CSR clock range used to determine MDC (v6.0) See merge request espressif/esp-idf!44224
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "soc/emac_mac_struct.h"
|
||||
#include "soc/emac_ext_struct.h"
|
||||
#include "soc/dport_reg.h"
|
||||
#include "soc/clk_tree_defs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -746,6 +747,12 @@ static inline void emac_ll_pause_frame_enable(emac_ext_dev_t *ext_regs, bool ena
|
||||
}
|
||||
/*************** End of ext regs operation *********************/
|
||||
|
||||
static inline soc_module_clk_t emac_ll_get_csr_clk_src(void)
|
||||
{
|
||||
// Source of the ESP32 EMAC CRS clock is APB clock.
|
||||
return SOC_MOD_CLK_APB;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user