[PATCH v8 09/13] arm: mach-k3: am62p5_init: Resume on LPM exit
Kumar, Udit
u-kumar1 at ti.com
Tue Dec 23 09:13:42 CET 2025
Hi Markus,
On 12/23/2025 1:31 AM, Markus Schneider-Pargmann (TI.com) wrote:
> When exiting a low power mode with DDR self-refresh, we can directly
> resume after DDR setup is done. Call the common function to resume.
>
> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp at baylibre.com>
> ---
> arch/arm/mach-k3/am62px/am62p5_init.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/mach-k3/am62px/am62p5_init.c b/arch/arm/mach-k3/am62px/am62p5_init.c
> index a74fe3d23d7c4b66ac95aa5a01c2a32a586e9ced..63cc9827b6a178d36f054400772417411cb508f5 100644
> --- a/arch/arm/mach-k3/am62px/am62p5_init.c
> +++ b/arch/arm/mach-k3/am62px/am62p5_init.c
> @@ -253,6 +253,15 @@ void board_init_f(ulong dummy)
> enable_mcu_esm_reset();
> }
>
> + if (wkup_ctrl_is_lpm_exit()) {
> + u64 meta_data_addr;
> +
> + ret = wkup_r5f_am62_lpm_meta_data_addr(&meta_data_addr);
> + if (ret)
> + panic("Failed to get LPM meta data address %d\n", ret);
> + lpm_resume_from_ddr(meta_data_addr);
> + }
> +
Thanks for moving enable cache after if
But advise how setup_qos will be done now.
> spl_enable_cache();
>
> setup_qos();
>
More information about the U-Boot
mailing list