powerpc/fsl-pci: enable SWIOTLB in function setup_pci_atmu
authorKevin Hao <haokexin@gmail.com>
Tue, 21 May 2013 12:05:00 +0000 (20:05 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 7 Aug 2013 23:38:08 +0000 (18:38 -0500)
commitc45e91831b80b97116eb2bbab30a95bc88e32f77
tree99e3047e5159c328dffb01d69b1b9545fb03634f
parent2d49c42a304750c5c38c9533d48bcc3fd7f8fe61
powerpc/fsl-pci: enable SWIOTLB in function setup_pci_atmu

This function contains all the stuff we need to check if SWIOTLB
should be enabled or not. So it is more convenient to enable
the SWIOTLB here than later.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_pci.c