diff --git a/components/esp_hw_support/linker.lf b/components/esp_hw_support/linker.lf index 1a9c00ea1f2..318b8461082 100644 --- a/components/esp_hw_support/linker.lf +++ b/components/esp_hw_support/linker.lf @@ -22,9 +22,12 @@ entries: rtc_time (noflash_text) if SOC_PMU_SUPPORTED = y: pmu_sleep (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: