From: Sumit Garg Date: Tue, 14 Jun 2016 17:52:37 +0000 (-0400) Subject: DM: crypto/fsl: Enable rsa DM driver usage before relocation X-Git-Tag: v2016.09-rc2~180^2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7f0a0e4c58e9099016eda6f1f24507c2e6173c8a;p=u-boot DM: crypto/fsl: Enable rsa DM driver usage before relocation Enable rsa signature verification in SPL framework before relocation for verification of main u-boot. Reviewed-by: Aneesh Bansal Signed-off-by: Sumit Garg Reviewed-by: Simon Glass Reviewed-by: York Sun --- diff --git a/drivers/crypto/fsl/fsl_rsa.c b/drivers/crypto/fsl/fsl_rsa.c index cf1c4c1d45..5471504b6e 100644 --- a/drivers/crypto/fsl/fsl_rsa.c +++ b/drivers/crypto/fsl/fsl_rsa.c @@ -53,6 +53,7 @@ U_BOOT_DRIVER(fsl_rsa_mod_exp) = { .name = "fsl_rsa_mod_exp", .id = UCLASS_MOD_EXP, .ops = &fsl_mod_exp_ops, + .flags = DM_FLAG_PRE_RELOC, }; U_BOOT_DEVICE(fsl_rsa) = {