diff --git a/components/esp_hw_support/linker.lf b/components/esp_hw_support/linker.lf index 73fdb4ea14b..7aa7f6cb162 100644 --- a/components/esp_hw_support/linker.lf +++ b/components/esp_hw_support/linker.lf @@ -23,9 +23,12 @@ entries: if SOC_PMU_SUPPORTED = y && SOC_LIGHT_SLEEP_SUPPORTED = y: pmu_sleep (noflash) sleep_mspi (noflash) - if SPIRAM_FLASH_LOAD_TO_PSRAM = y: - pmu_init (noflash) - pmu_param (noflash) + if SPIRAM_FLASH_LOAD_TO_PSRAM = y: + pmu_init (noflash) + pmu_param (noflash) + elif PM_SLP_IRAM_OPT = y && IDF_TARGET_ESP32P4 != y: + pmu_param:get_act_hp_dbias (noflash) + pmu_param:get_act_lp_dbias (noflash) if SOC_PMU_PVT_SUPPORTED = y && ESP_ENABLE_PVT = y: pmu_pvt (noflash) if SOC_USB_SERIAL_JTAG_SUPPORTED = y: