diff options
author | venkatajagadish <vjagadish@nvidia.com> | 2012-11-21 16:10:02 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 00:48:28 -0700 |
commit | 939589b01976a2699bb460b758a4fc6bc6f494e2 (patch) | |
tree | af8273fe33be4070f110afd1f96442ed3eb49378 /drivers/crypto | |
parent | 1f51df31cf816a6abd9caba078f7454a1aece1f7 (diff) |
crypto: tegra-se: Remove NOP after context save
Remove NOP command after lp0 context save fot t148.
Bug 1002132
Change-Id: I2af181b02ff3ba64a60f2ad325fefee49e69c023
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165612
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/tegra-se.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/crypto/tegra-se.c b/drivers/crypto/tegra-se.c index 3e65753f4bd3..7621279bd717 100644 --- a/drivers/crypto/tegra-se.c +++ b/drivers/crypto/tegra-se.c @@ -41,6 +41,7 @@ #include <crypto/internal/hash.h> #include <crypto/sha.h> #include <linux/pm_runtime.h> +#include <mach/hardware.h> #include "tegra-se.h" @@ -2963,7 +2964,8 @@ static int tegra_se_save_SRK(struct tegra_se_dev *se_dev) return ret; } - if (se_dev->chipdata->drbg_supported) { + if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) && + se_dev->chipdata->drbg_supported) { /* clear any pending interrupts */ val = se_readl(se_dev, SE_INT_STATUS_REG_OFFSET); se_writel(se_dev, val, SE_INT_STATUS_REG_OFFSET); |