[PATCH 1/3] firmware: psci: enable DM_FLAG_PRE_RELOC

Peng Fan peng.fan at nxp.com
Mon Apr 10 14:39:07 CEST 2023


Tom, Simon,

Sorry for ping early, I have other patches pending on this patchset, just
wonder whether you are fine with this patchset.

Thanks,
Peng.
> Subject: [PATCH 1/3] firmware: psci: enable DM_FLAG_PRE_RELOC
> 
> From: Peng Fan <peng.fan at nxp.com>
> 
> It is possible that cpu core may reset before relocation with PSCI reset
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/firmware/psci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index
> ef3e9836461..c6b9efab41c 100644
> --- a/drivers/firmware/psci.c
> +++ b/drivers/firmware/psci.c
> @@ -319,4 +319,5 @@ U_BOOT_DRIVER(psci) = {  #ifdef
> CONFIG_ARM_SMCCC_FEATURES
>  	.plat_auto = sizeof(struct psci_plat_data),  #endif
> +	.flags = DM_FLAG_PRE_RELOC,
>  };
> --
> 2.36.0



More information about the U-Boot mailing list