* [U-Boot] DMA drivers in U-Boot?
@ 2011-09-14 14:52 Simon Schwarz
2011-09-14 15:24 ` Mike Frysinger
2011-09-14 20:08 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Simon Schwarz @ 2011-09-14 14:52 UTC (permalink / raw)
To: u-boot
Hi List,
I am working on integrating DMA into my SPL. As a matter of fact it is
already working fine.
So, here are my questions:
- Is there an interest in having DMA drivers in U-Boot? (I only know of
one in /drivers)
- Is there an API I should implement?
- Any other comments?
(ATM the transfer of the Linux-image is more than three times faster
compared to the CPU copy)
Regards
Simon
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] DMA drivers in U-Boot?
2011-09-14 14:52 [U-Boot] DMA drivers in U-Boot? Simon Schwarz
@ 2011-09-14 15:24 ` Mike Frysinger
2011-09-14 20:08 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2011-09-14 15:24 UTC (permalink / raw)
To: u-boot
On Wed, Sep 14, 2011 at 10:52, Simon Schwarz wrote:
> I am working on integrating DMA into my SPL. As a matter of fact it is
> already working fine.
>
> So, here are my questions:
> - Is there an interest in having DMA drivers in U-Boot? (I only know of
> one in /drivers)
> - Is there an API I should implement?
> - Any other comments?
>
> (ATM the transfer of the Linux-image is more than three times faster
> compared to the CPU copy)
Blackfin provides a dma_memcpy() helper. what functionality do you
need the API to provide exactly ? the Linux DMA API is quite large
and convoluted (many times with good reason), but i'd like to keep it
simple for us if possible.
-mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] DMA drivers in U-Boot?
2011-09-14 14:52 [U-Boot] DMA drivers in U-Boot? Simon Schwarz
2011-09-14 15:24 ` Mike Frysinger
@ 2011-09-14 20:08 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-09-14 20:08 UTC (permalink / raw)
To: u-boot
Dear Simon Schwarz,
In message <4E70BF94.1030306@gmail.com> you wrote:
>
> I am working on integrating DMA into my SPL. As a matter of fact it is
> already working fine.
>
> So, here are my questions:
> - Is there an interest in having DMA drivers in U-Boot? (I only know of
> one in /drivers)
It depends. There are some devices which always use DMA, which cannot
operated in any other way. Here the choice is simple :-)
In all other cases, the question is about effort (code size,
complexity) on one side, and win (reduction of boot time) on the other
side.
Eventually, two implementations might exist, and configuration
optioons to select one.
> (ATM the transfer of the Linux-image is more than three times faster
> compared to the CPU copy)
Numbers like these are usually driving arguments :-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No, I'm not going to explain it. If you can't figure it out, you
didn't want to know anyway... :-)
- Larry Wall in <1991Aug7.180856.2854@netlabs.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-14 20:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 14:52 [U-Boot] DMA drivers in U-Boot? Simon Schwarz
2011-09-14 15:24 ` Mike Frysinger
2011-09-14 20:08 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox