From: Robin Murphy Date: Mon, 12 Jan 2015 20:48:54 +0000 (+0000) Subject: arm64: implement generic IOMMU configuration X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=78d51e0b8b57728099a3da74f4a10b6f8c71b764;p=openwrt%2Fstaging%2Fblogic.git arm64: implement generic IOMMU configuration Add the necessary call to of_iommu_init. Acked-by: Will Deacon Signed-off-by: Robin Murphy Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index bb10903887d4..e8420f635bd4 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -405,6 +406,7 @@ void __init setup_arch(char **cmdline_p) static int __init arm64_device_init(void) { + of_iommu_init(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); return 0; }