[U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL
Simon Schwarz
simonschwarzcor at googlemail.com
Wed Nov 2 10:57:17 CET 2011
Hi Scott
On 10/31/2011 10:22 PM, Scott Wood wrote:
> What would the semantics of a generic dma_wait_for_transfer() be?
>
> I just don't see how this is generic at all, whatever the name.
>
Hm. It would be a check if the given DMA channel is active - and if it
is busy waiting for it.
So, what would then be a generic interface for DMA? I see that this is a
verrry basic solution - but where do you see the actual problems
implementing this interface for other DMA controllers? Or do you think
that the interface is to simple?
>> A whole new driver is IMHO not the right thing as there is too much
>> duplicated code then.
>
> So factor the common bits out into a separate file.
>
I haven't given up on the general solution yet. If I don't see another
way I will do that.
Regards
Simon
More information about the U-Boot
mailing list