07 Dec, 2018

2 commits

  • This adds channels support for dma controllers that have multiple channels
    which can transfer data to/from different devices (enet, usb...).

    DMA channle API:
    dma_get_by_index()
    dma_get_by_name()
    dma_request()
    dma_free()
    dma_enable()
    dma_disable()
    dma_prepare_rcv_buf()
    dma_receive()
    dma_send()

    Reviewed-by: Tom Rini
    Signed-off-by: Álvaro Fernández Rojas
    [grygorii.strashko@ti.com: drop unused dma_get_by_index_platdata(),
    add metadata to send/receive ops, add dma_prepare_rcv_buf(),
    minor clean up]
    Signed-off-by: Grygorii Strashko
    Reviewed-by: Simon Glass

    Álvaro Fernández Rojas
     
  • Move dma_ops to a separate header file, following other uclass
    implementations. While doing so, this patch also improves dma_ops
    documentation.

    Reviewed-by: Tom Rini
    Reviewed-by: Simon Glass
    Signed-off-by: Álvaro Fernández Rojas
    Signed-off-by: Grygorii Strashko

    Álvaro Fernández Rojas
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

23 Feb, 2016

1 commit

  • Implement a DMA uclass so that the devices like ethernet, spi,
    mmc etc can offload the data transfers from/to the device and
    memory.

    Signed-off-by: Mugunthan V N
    Reviewed-by: Simon Glass
    Reviewed-by: Jagan Teki

    Mugunthan V N