powerpc/85xx: Fix SWIOTLB initalization for MPC85xxMDS boards
authorAnton Vorontsov <avorontsov@mvista.com>
Tue, 8 Jun 2010 09:55:40 +0000 (09:55 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Aug 2010 19:15:22 +0000 (14:15 -0500)
commitbb863e85a74f0222f4486ddb1945ed9eb431d6c9
tree563f90f0cd81811ebc53759de53cffff1b87b65b
parentf933a41e419a954ef90605224e02c3ded78f3372
powerpc/85xx: Fix SWIOTLB initalization for MPC85xxMDS boards

The code inside '#ifdef CONFIG_QUICC_ENGINE' makes the
mpc85xx_mds_setup_arch() return early if no QE nodes present,
and so SWIOTLB is never initialized.

This patch fixes the issue by moving SWIOTLB code above
QE.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/mpc85xx_mds.c