From 2f9ea1bde0d12d8fb5a7bdc7ab6834275d456262 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 16 Sep 2007 20:53:27 +1000 Subject: [POWERPC] bestcomm: core bestcomm support for Freescale MPC5200 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 Signed-off-by: Grant Likely --- arch/powerpc/sysdev/bestcomm/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/powerpc/sysdev/bestcomm/Makefile (limited to 'arch/powerpc/sysdev/bestcomm/Makefile') diff --git a/arch/powerpc/sysdev/bestcomm/Makefile b/arch/powerpc/sysdev/bestcomm/Makefile new file mode 100644 index 00000000000..a24aa06faaf --- /dev/null +++ b/arch/powerpc/sysdev/bestcomm/Makefile @@ -0,0 +1,8 @@ +# +# Makefile for BestComm & co +# + +bestcomm-core-objs := bestcomm.o sram.o + +obj-$(CONFIG_PPC_BESTCOMM) += bestcomm-core.o + -- cgit v1.2.3 From 9ea68df515392a556388f12c876ca74654e37483 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 16 Sep 2007 20:53:28 +1000 Subject: [POWERPC] bestcomm: ATA task support This is the microcode for the ATA task and the associated support code. The microcode itself comes directly from the offical API (v2.2) Signed-off-by: Sylvain Munaut Signed-off-by: Grant Likely --- arch/powerpc/sysdev/bestcomm/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc/sysdev/bestcomm/Makefile') diff --git a/arch/powerpc/sysdev/bestcomm/Makefile b/arch/powerpc/sysdev/bestcomm/Makefile index a24aa06faaf..b7a6a40c7d2 100644 --- a/arch/powerpc/sysdev/bestcomm/Makefile +++ b/arch/powerpc/sysdev/bestcomm/Makefile @@ -3,6 +3,8 @@ # bestcomm-core-objs := bestcomm.o sram.o +bestcomm-ata-objs := ata.o bcom_ata_task.o obj-$(CONFIG_PPC_BESTCOMM) += bestcomm-core.o +obj-$(CONFIG_PPC_BESTCOMM_ATA) += bestcomm-ata.o -- cgit v1.2.3 From ba11c79aba8d8e9faf556a32bb8b414b4a846ac7 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 16 Sep 2007 20:53:29 +1000 Subject: [POWERPC] bestcomm: FEC task support This is the microcode for the FEC task and the associated support code. The microcode itself comes directly from the offical API (v2.2) Signed-off-by: Sylvain Munaut Signed-off-by: Grant Likely --- arch/powerpc/sysdev/bestcomm/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc/sysdev/bestcomm/Makefile') diff --git a/arch/powerpc/sysdev/bestcomm/Makefile b/arch/powerpc/sysdev/bestcomm/Makefile index b7a6a40c7d2..537d1744e6b 100644 --- a/arch/powerpc/sysdev/bestcomm/Makefile +++ b/arch/powerpc/sysdev/bestcomm/Makefile @@ -4,7 +4,9 @@ bestcomm-core-objs := bestcomm.o sram.o bestcomm-ata-objs := ata.o bcom_ata_task.o +bestcomm-fec-objs := fec.o bcom_fec_rx_task.o bcom_fec_tx_task.o obj-$(CONFIG_PPC_BESTCOMM) += bestcomm-core.o obj-$(CONFIG_PPC_BESTCOMM_ATA) += bestcomm-ata.o +obj-$(CONFIG_PPC_BESTCOMM_FEC) += bestcomm-fec.o -- cgit v1.2.3 From 7acb939130ff054f195f827ed1cb389232dd8560 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 16 Sep 2007 20:53:30 +1000 Subject: [POWERPC] bestcomm: GenBD task support This is the microcode for the GenBD task and the associated support code. This is a generic task that copy data to/from a hardware FIFO. This is currently locked to 32bits wide access but could be extended as needed. The microcode itself comes directly from the offical API (v2.2) Signed-off-by: Sylvain Munaut Signed-off-by: Grant Likely --- arch/powerpc/sysdev/bestcomm/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc/sysdev/bestcomm/Makefile') diff --git a/arch/powerpc/sysdev/bestcomm/Makefile b/arch/powerpc/sysdev/bestcomm/Makefile index 537d1744e6b..aed2df2a658 100644 --- a/arch/powerpc/sysdev/bestcomm/Makefile +++ b/arch/powerpc/sysdev/bestcomm/Makefile @@ -5,8 +5,10 @@ bestcomm-core-objs := bestcomm.o sram.o bestcomm-ata-objs := ata.o bcom_ata_task.o bestcomm-fec-objs := fec.o bcom_fec_rx_task.o bcom_fec_tx_task.o +bestcomm-gen-bd-objs := gen_bd.o bcom_gen_bd_rx_task.o bcom_gen_bd_tx_task.o obj-$(CONFIG_PPC_BESTCOMM) += bestcomm-core.o obj-$(CONFIG_PPC_BESTCOMM_ATA) += bestcomm-ata.o obj-$(CONFIG_PPC_BESTCOMM_FEC) += bestcomm-fec.o +obj-$(CONFIG_PPC_BESTCOMM_GEN_BD) += bestcomm-gen-bd.o -- cgit v1.2.3