]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
DM: crypto/fsl: Enable rsa DM driver usage before relocation
authorSumit Garg <sumit.garg@nxp.com>
Tue, 14 Jun 2016 17:52:37 +0000 (13:52 -0400)
committerYork Sun <york.sun@nxp.com>
Tue, 26 Jul 2016 16:01:21 +0000 (09:01 -0700)
Enable rsa signature verification in SPL framework before relocation for
verification of main u-boot.

Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/crypto/fsl/fsl_rsa.c

index cf1c4c1d458ad05a01729c5868bc174986ebd8e9..5471504b6e9cad5589dd73d3508cd76193dfbec5 100644 (file)
@@ -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) = {