]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: crypto: rsa_mod_exp: avoid DM_FLAG_PRE_RELOC
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 15 Apr 2020 18:31:53 +0000 (18:31 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Apr 2020 06:12:32 +0000 (08:12 +0200)
commit17e11740857163d2b4574e5da995732350885812
tree22df13ab7c10da6c45cf5ffce349f3ae1914629f
parent540faca8a1d98997d09cdb3ee964a57a9cf9c5c4
drivers: crypto: rsa_mod_exp: avoid DM_FLAG_PRE_RELOC

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@gmx.de>
drivers/crypto/fsl/fsl_rsa.c
drivers/crypto/rsa_mod_exp/mod_exp_sw.c