mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
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>
This commit is contained in:
@@ -52,7 +52,6 @@ U_BOOT_DRIVER(fsl_rsa_mod_exp) = {
|
|||||||
.name = "fsl_rsa_mod_exp",
|
.name = "fsl_rsa_mod_exp",
|
||||||
.id = UCLASS_MOD_EXP,
|
.id = UCLASS_MOD_EXP,
|
||||||
.ops = &fsl_mod_exp_ops,
|
.ops = &fsl_mod_exp_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DEVICE(fsl_rsa) = {
|
U_BOOT_DEVICE(fsl_rsa) = {
|
||||||
|
@@ -31,7 +31,6 @@ U_BOOT_DRIVER(mod_exp_sw) = {
|
|||||||
.name = "mod_exp_sw",
|
.name = "mod_exp_sw",
|
||||||
.id = UCLASS_MOD_EXP,
|
.id = UCLASS_MOD_EXP,
|
||||||
.ops = &mod_exp_ops_sw,
|
.ops = &mod_exp_ops_sw,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DEVICE(mod_exp_sw) = {
|
U_BOOT_DEVICE(mod_exp_sw) = {
|
||||||
|
Reference in New Issue
Block a user