Tegra: smmu: add a hook to get number of devices
authorSteven Kao <skao@nvidia.com>
Tue, 25 Jul 2017 03:29:46 +0000 (11:29 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 Jan 2019 17:21:50 +0000 (09:21 -0800)
commitbc5a86f767471e34a3410c6ddefe338086222238
tree2e2e406efdc392c0d1666d1b0318a40ebb171979
parent4c9940022801725ad6871078650be09ca01ca0d5
Tegra: smmu: add a hook to get number of devices

This patch adds a hook to get the number of smmu devices and
removes the NUM_SMMU_DEVICES macro.

Change-Id: Ia8dba7e9304224976b5da688b9e4b5438f11cc41
Signed-off-by: Steven Kao <skao@nvidia.com>
plat/nvidia/tegra/common/drivers/smmu/smmu.c
plat/nvidia/tegra/include/drivers/smmu.h
plat/nvidia/tegra/soc/t186/plat_smmu.c
plat/nvidia/tegra/soc/t186/platform_t186.mk