diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2015-03-03 14:44:57 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-03-12 11:43:09 -0500 |
commit | 9a6d7298b0833614c411f774c46514efb1bd5651 (patch) | |
tree | 3d05e9319e0fe78acb70dab565e497a86b68a60b /arch | |
parent | 22b3c181c6c324a46f71aae806d8ddbe61d25761 (diff) | |
download | linux-9a6d7298b0833614c411f774c46514efb1bd5651.tar.bz2 |
of: Calculate device DMA masks based on DT dma-range size
Calculate the dma_mask and coherent_dma_mask based on the dma-range values
set in DT for the device.
Limit the mask to lower of the default mask and mask calculated.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
CC: Joerg Roedel <joro@8bytes.org>
CC: Grant Likely <grant.likely@linaro.org>
CC: Rob Herring <robh+dt@kernel.org>
CC: Will Deacon <will.deacon@arm.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions