iommu/mediatek: Move vld_pa_rng into plat_data
authorYong Wu <yong.wu@mediatek.com>
Sat, 24 Aug 2019 03:02:00 +0000 (11:02 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 30 Aug 2019 13:57:27 +0000 (15:57 +0200)
commit2b326d8b1d2b443c3dad96f54c6b279559f87751
treed4266cd071a34f218584ca8bc9a7e108227cfbaf
parent50822b0b948fabfc8bcee9a89d031c276b135506
iommu/mediatek: Move vld_pa_rng into plat_data

Both mt8173 and mt8183 don't have this vld_pa_rng(valid physical address
range) register while mt2712 have. Move it into the plat_data.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu.h