MLK-14938-8 imx8: Add SMMU setup to Soc codes
authorYe Li <ye.li@nxp.com>
Wed, 17 May 2017 07:19:25 +0000 (02:19 -0500)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 08:48:06 +0000 (01:48 -0700)
commite5515b9593fb7e74598fe744d7b1e355c5b904df
treedf0284df09d484ef307230946f412ad75c6a99ee
parentd8de224e26eac82193dea10b4d143e0093a7f609
MLK-14938-8 imx8: Add SMMU setup to Soc codes

We setup SMMU in arch_preboot_os to avoid breaking u-boot driver.
Add a kconfig entry CONFIG_IMX_SMMU to enable it.
So far, the USDHC0-USDHC1 and FEC0-FEC1 are added into sid.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 7da6345919ee59a26cf65b4bc29072eea2fc0909)
arch/arm/include/asm/arch-imx8/sci/sci.h
arch/arm/include/asm/arch-imx8/sid.h [new file with mode: 0644]
arch/arm/mach-imx/imx8/Kconfig
arch/arm/mach-imx/imx8/cpu.c
drivers/misc/imx8/scu_api.c