[U-Boot] [RFC v3 02/15] dma: add channels support

Simon Glass sjg at chromium.org
Thu Feb 22 16:18:09 UTC 2018


On 21 February 2018 at 09:10, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
> This adds channels support for dma controllers that have multiple channels
> which can transfer data to/from different devices (enet, usb...).
>
> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
> ---
>  v3: Introduce changes reported by Simon Glass:
>   - Improve dma-uclass.h documentation.
>   - Switch to live tree API.
>
>  drivers/dma/Kconfig      |   7 ++
>  drivers/dma/dma-uclass.c | 188 +++++++++++++++++++++++++++++++++++++++++++++--
>  include/dma-uclass.h     |  78 ++++++++++++++++++++
>  include/dma.h            | 174 ++++++++++++++++++++++++++++++++++++++++++-
>  4 files changed, 439 insertions(+), 8 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Re moving the code into ofdata_to_platdata(), I suppose what you have
here is OK.

Regards,
Simon


More information about the U-Boot mailing list