[PATCH 1/1] drivers: crypto: rsa_mod_exp: avoid DM_FLAG_PRE_RELOC

Simon Glass sjg at chromium.org
Mon Apr 20 01:37:28 CEST 2020


On Wed, 15 Apr 2020 at 15:32, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Function rsa_verify_key() is not called before relocation. So there is no
> need to load the UCLASS_MOD_EXP drivers before relocation.
>
> This avoid a failure to boot for pine64-lts_defconfig with CONFIG_RSA=y.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/crypto/fsl/fsl_rsa.c            | 1 -
>  drivers/crypto/rsa_mod_exp/mod_exp_sw.c | 1 -
>  2 files changed, 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list