Skip to content
Commit 51bdb509 authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Matthias Brugger
Browse files

dm: Introduce xxx_get_dma_range()



Add the following functions to get a specific device's DMA ranges:
 - dev_get_dma_range()
 - ofnode_get_dma_range()
 - of_get_dma_range()
 - fdt_get_dma_range()
They are specially useful in oder to be able validate a physical address
space range into a bus's and to convert addresses from and to address
spaces.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
parent c709243e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment