Re: [PATCH] dma: add new DMA control commands

From: Huang Shijie
Date: Thu Oct 18 2012 - 11:11:13 EST


On Thu, Oct 18, 2012 at 6:51 AM, Marek Vasut <marex@xxxxxxx> wrote:
> Dear Huang Shijie,
>
>> ä 2012å10æ18æ 16:49, Marek Vasut åé:
>> > Dear Huang Shijie,
>> >
>> >> ä 2012å10æ18æ 16:16, Marek Vasut åé:
>> >>> So we can't stream data from the chip? About time to adjust the MTD
>> >>> framework to allow that. Maybe implement a command queue?
>> >>
>> >> IMHO, it's not possible. Because the READ-PAGE(00h-30h) command needs to
>> >> check the busy status
>> >> which means we have to stop in the middle, so we can not chain the all
>> >> the read-pages DMA commands.
>> >
>> > Can the DMA not branch?
>>
>> it's too complicated to the MTD layer, as well as the gpmi driver.
>
> Can you please elaborate ?
could you read the nand spec about how to read a page out with the
READ-PAGE(00-30) command,
and tell me how to make the DMA branch?
I really have no idea about how to make the DMA branch.

thanks
Huang Shijie
.


> Best regards,
> Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/