diff options
author | Radu Solea <radu.solea@nxp.com> | 2017-07-13 15:00:09 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:27:23 +0800 |
commit | 3da4a3ecee6fdacedebccb86e757465ab99434ea (patch) | |
tree | f4eae3560194c584a4f34a61ab7eb6c43de54252 /drivers/crypto/mxs-dcp.c | |
parent | 100f48bada2ca2706a6017dd9dc2ef42b3ccd9bf (diff) |
MLK-14765: Enable DCP SHA workaround on all platforms
Remove variant restriction for DCP SHA workaround. All integrations of
DCP seem affected.
Signed-off-by: Radu Solea <radu.solea@nxp.com>
Diffstat (limited to 'drivers/crypto/mxs-dcp.c')
-rw-r--r-- | drivers/crypto/mxs-dcp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c index 1171198673cc..dea36707321a 100644 --- a/drivers/crypto/mxs-dcp.c +++ b/drivers/crypto/mxs-dcp.c @@ -1113,13 +1113,9 @@ static int mxs_dcp_probe(struct platform_device *pdev) } /* - * Enable driver alignment with hw behavior on imx6 + * Enable driver alignment with hw behavior for sha generation */ - if (of_machine_is_compatible("fsl,imx6sl") || - of_machine_is_compatible("fsl,imx6ull")) { - sdcp->enable_sha_workaround = 1; - } else - sdcp->enable_sha_workaround = 0; + sdcp->enable_sha_workaround = 1; /* Create the SHA and AES handler threads. */ sdcp->thread[DCP_CHAN_HASH_SHA] = kthread_run(dcp_chan_thread_sha, |