iommu/arm-smmu: ignore target specific intialization
Ignore the target specific initialization that is not required for slave
side secure targets.
Change-Id: I172ddaf196cf216bb72f00e26183f725023b5244
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index ac862d7..f0e510f 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -5321,6 +5321,9 @@
data->version = readl_relaxed(data->tcu_base + TCU_HW_VERSION_HLOS1);
smmu->archdata = data;
+ if (arm_smmu_is_static_cb(smmu))
+ return 0;
+
ret = qsmmuv500_parse_errata1(smmu);
if (ret)
return ret;