arm: call iommu_init before of_platform_populate
authorWill Deacon <will.deacon@arm.com>
Wed, 27 Aug 2014 16:51:16 +0000 (17:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 1 Dec 2014 16:50:50 +0000 (16:50 +0000)
commitaf4dda732ea044517f8beed4a38c852ea97e7690
tree730f58541092c34b207a1b7bd0e4f036ee0f7ef7
parent97890ba9289c66e23f2f2d431937693b6498d6f6
arm: call iommu_init before of_platform_populate

We need to ensure that the IOMMUs in the system have a chance to perform
some basic initialisation before we start adding masters to them.

This patch adds a call to of_iommu_init before of_platform_populate.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/setup.c