5cef379b34
This is the final bit of code to allow enabling swiotlb on mpc86xx. The platform-specific code is very small and consists of enabling SWIOTLB in the config file, registering the swiotlb_setup_bus_notifier initcall, and setting pci_dma_ops to point to swiotlb_pci_dma_ops if we have more memory than can be mapped by the inbound PCI windows. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
77 lines
1.5 KiB
Plaintext
77 lines
1.5 KiB
Plaintext
config PPC_86xx
|
|
menuconfig PPC_86xx
|
|
bool "86xx-based boards"
|
|
depends on 6xx
|
|
select FSL_SOC
|
|
select ALTIVEC
|
|
help
|
|
The Freescale E600 SoCs have 74xx cores.
|
|
|
|
if PPC_86xx
|
|
|
|
config MPC8641_HPCN
|
|
bool "Freescale MPC8641 HPCN"
|
|
select PPC_I8259
|
|
select DEFAULT_UIMAGE
|
|
select FSL_ULI1575
|
|
select HAS_RAPIDIO
|
|
select SWIOTLB
|
|
help
|
|
This option enables support for the MPC8641 HPCN board.
|
|
|
|
config SBC8641D
|
|
bool "Wind River SBC8641D"
|
|
select DEFAULT_UIMAGE
|
|
help
|
|
This option enables support for the WRS SBC8641D board.
|
|
|
|
config MPC8610_HPCD
|
|
bool "Freescale MPC8610 HPCD"
|
|
select DEFAULT_UIMAGE
|
|
select FSL_ULI1575
|
|
help
|
|
This option enables support for the MPC8610 HPCD board.
|
|
|
|
config GEF_PPC9A
|
|
bool "GE Fanuc PPC9A"
|
|
select DEFAULT_UIMAGE
|
|
select GENERIC_GPIO
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
help
|
|
This option enables support for GE Fanuc's PPC9A.
|
|
|
|
config GEF_SBC310
|
|
bool "GE Fanuc SBC310"
|
|
select DEFAULT_UIMAGE
|
|
select GENERIC_GPIO
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
help
|
|
This option enables support for GE Fanuc's SBC310.
|
|
|
|
config GEF_SBC610
|
|
bool "GE Fanuc SBC610"
|
|
select DEFAULT_UIMAGE
|
|
select GENERIC_GPIO
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select HAS_RAPIDIO
|
|
help
|
|
This option enables support for GE Fanuc's SBC610.
|
|
|
|
endif
|
|
|
|
config MPC8641
|
|
bool
|
|
select PPC_PCI_CHOICE
|
|
select FSL_PCI if PCI
|
|
select PPC_UDBG_16550
|
|
select MPIC
|
|
default y if MPC8641_HPCN || SBC8641D || GEF_SBC610 || GEF_SBC310 || GEF_PPC9A
|
|
|
|
config MPC8610
|
|
bool
|
|
select PPC_PCI_CHOICE
|
|
select FSL_PCI if PCI
|
|
select PPC_UDBG_16550
|
|
select MPIC
|
|
default y if MPC8610_HPCD
|