bus/fslmc: detect IOMMU mode
authorShreyansh Jain <shreyansh.jain@nxp.com>
Mon, 15 Jul 2019 08:44:40 +0000 (14:14 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jul 2019 21:48:51 +0000 (23:48 +0200)
commitcb07a0883c7004721e9c0c51d2b2b1ca243e498c
treecb9913691e646bf839ba3cc6434667fdbeb13999
parentabde1f9eaedcac6f5669190c568b9a3b208f44e3
bus/fslmc: detect IOMMU mode

This patch adds following:
1. 'g_container' variable name is not right way to represent the
FSLMC container. Renaming it to fslmc_container.
2. dynamic selection of IOMMU mode based on run environment

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/fslmc/fslmc_vfio.c