Skip to content

Commit

Permalink
[POWERPC] bestcomm: core bestcomm support for Freescale MPC5200
Browse files Browse the repository at this point in the history
This patch adds support for the core of the BestComm API
for the Freescale MPC5200(b). The BestComm engine is a
microcode-controlled / tasks-based DMA used by several
of the onchip devices.

Setting up the tasks / memory allocation and all common
low level functions are handled by this patch.
The specifics details of each tasks and their microcode
are split-out in separate patches.

This is not the official API, but a much cleaner one.
(hopefully)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Sylvain Munaut authored and Grant Likely committed Oct 16, 2007
1 parent 07e6e93 commit 2f9ea1b
Show file tree
Hide file tree
Showing 9 changed files with 1,312 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,6 @@ config FSL_ULI1575
config CPM
bool

source "arch/powerpc/sysdev/bestcomm/Kconfig"

endmenu
1 change: 1 addition & 0 deletions arch/powerpc/sysdev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ obj-$(CONFIG_FSL_SOC) += fsl_soc.o
obj-$(CONFIG_FSL_PCI) += fsl_pci.o
obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
obj-$(CONFIG_QUICC_ENGINE) += qe_lib/
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
mv64x60-$(CONFIG_PCI) += mv64x60_pci.o
obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \
mv64x60_udbg.o
Expand Down
18 changes: 18 additions & 0 deletions arch/powerpc/sysdev/bestcomm/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Kconfig options for Bestcomm
#

config PPC_BESTCOMM
tristate "Bestcomm DMA engine support"
depends on PPC_MPC52xx
default n
select PPC_LIB_RHEAP
help
BestComm is the name of the communication coprocessor found
on the Freescale MPC5200 family of processor. It's usage is
optionnal for some drivers (like ATA), but required for
others (like FEC).

If you want to use drivers that require DMA operations,
answer Y or M. Otherwise say N.

8 changes: 8 additions & 0 deletions arch/powerpc/sysdev/bestcomm/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Makefile for BestComm & co
#

bestcomm-core-objs := bestcomm.o sram.o

obj-$(CONFIG_PPC_BESTCOMM) += bestcomm-core.o

Loading

0 comments on commit 2f9ea1b

Please sign in to comment.