fix(vol): update dreg_1p1 and dreg_1p1_pvt in bootloader

This commit is contained in:
hongshuqing
2026-05-29 11:24:12 +08:00
parent fb2e11f070
commit 58e8df647e
2 changed files with 40 additions and 0 deletions

View File

@@ -32,6 +32,8 @@
#include "soc/reset_reasons.h"
#include "hal/assist_debug_ll.h"
#include "esp_rom_sys.h"
#include "soc/regi2c_bias.h"
#include "hal/regi2c_ctrl.h"
ESP_LOG_ATTR_TAG(TAG, "boot.esp32s31");
@@ -53,6 +55,9 @@ static inline void bootloader_hardware_init(void)
regi2c_ctrl_ll_master_force_enable_clock(true); // TODO: IDF-14678 Remove this?
regi2c_ctrl_ll_master_configure_clock();
#endif
REGI2C_WRITE_MASK(I2C_BIAS, I2C_BIAS_DREG_1P1, 10);
REGI2C_WRITE_MASK(I2C_BIAS, I2C_BIAS_DREG_1P1_PVT, 10);
}
void bootloader_enable_cpu_reset_info(void)