Since you have reuse most part of our BSP, why should you reinvent wheel for MPC512x DMA? We have one ready DMA driver, which has been used by AC97, ATA, VIU etc.
Hongjun Chen 2009-05-19 发件人: Wolfgang Denk 发送时间: 2009-05-07 04:15:18 收件人: linuxppc-dev@ozlabs.org 抄送: Piotr Ziecik; Wolfgang Denk 主题: [PATCH 11/12] mpc5121: Added MPC512x DMA driver. From: Piotr Ziecik <ko...@semihalf.com> This patch adds initial version of MPC512x DMA driver. Only memory to memory transfers are currenly supported. Signed-off-by: Piotr Ziecik <ko...@semihalf.com> Signed-off-by: Wolfgang Denk <w...@denx.de> Cc: Grant Likely <grant.lik...@secretlab.ca> Cc: John Rigby <jcri...@gmail.com> --- arch/powerpc/boot/dts/mpc5121ads.dts | 2 +- arch/powerpc/platforms/512x/mpc512x_shared.c | 1 + drivers/dma/Kconfig | 7 + drivers/dma/Makefile | 1 + drivers/dma/mpc512x_dma.c | 642 ++++++++++++++++++++++++++ drivers/dma/mpc512x_dma.h | 192 ++++++++ 6 files changed, 844 insertions(+), 1 deletions(-) create mode 100644 drivers/dma/mpc512x_dma.c create mode 100644 drivers/dma/mpc512x_dma.h _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev