[uClinux-dev] Freescale's MCDMAAPI vs. Generic Linux DMA API
on Coldfire MCF548x
Greg Ungerer
gerg at snapgear.com
Mon Feb 4 19:36:08 EST 2008
Hi Markus,
Markus Franke wrote:
> I am working on a custom board around MCF5484 running uClinux. Freescale
> offers an own API (MCDMAAPI) for this processor in order to work with
> DMA. As far as I know uClinux/Linux uses its own generic DMA API. For
> MCF5272, code relating to DMA is well integrated with this generic API.
> I am wondering whether it might be useful if this would be done for
> MCDMAAPI as well? Which one would be the prefered way for the community?
> Using Freescale's MCDMAAPI or the generic Linux DMA API or maybe both
> API's working together?
As a general rule you want to follow the way Linux does things.
This is especially true for modern versions of the kernel (2.6.x),
and especially if you want the code to be acceptable for main
line inclusion.
The current ColdFire DMA support in Linux is limited and a little
out of date though, so it alone is not a good guide :-)
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
More information about the uClinux-dev
mailing list