soc: esp32: update clock configuration calls
Removed duplicated calls in clock subsystems. Move proper includes to soc specific. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
a627666e06
commit
69311ccc3d
6 changed files with 6 additions and 22 deletions
|
@ -60,12 +60,6 @@ static void esp_clk_bbpll_enable(void)
|
|||
RTC_CNTL_BBPLL_FORCE_PD | RTC_CNTL_BBPLL_I2C_FORCE_PD);
|
||||
}
|
||||
|
||||
void IRAM_ATTR ets_update_cpu_frequency(uint32_t ticks_per_us)
|
||||
{
|
||||
/* Update scale factors used by ets_delay_us */
|
||||
esp_rom_g_ticks_per_us_pro = ticks_per_us;
|
||||
}
|
||||
|
||||
static int esp_clk_cpu_freq_to_pll_mhz(int cpu_freq_mhz)
|
||||
{
|
||||
int dbias = DIG_DBIAS_80M_160M;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue