powerpc/85xx: Add SWIOTLB support to FSL boards
authorKumar Gala <galak@kernel.crashing.org>
Fri, 15 May 2009 05:37:35 +0000 (00:37 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:29 +0000 (21:45 -0500)
commit152d0182822e871a3fe1f6d97949d83fad950e26
tree0e09bbe9b3a5b2982dc501db4240238314f54743
parent5cef379b34ffcd96567066ddc1012bd40e6e7675
powerpc/85xx: Add SWIOTLB support to FSL boards

Add the platform-specific code for enabling SWIOTLB if needed on P2020DS,
MPC85xx DS, and MPC85xx MDS boards as they are capable of having >4G of
memory.

We determine if we need to enable swiotlb based on how much memory is in
the board and if it exceeds 4G or what we can map via PCI inbound
windows.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/85xx/mpc8536_ds.c
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/85xx/mpc85xx_mds.c