diff options
author | Liam Mark <lmark@codeaurora.org> | 2016-06-03 11:07:36 -0700 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-07-11 18:56:28 -0700 |
commit | 2fc88bef397d0201fbf4a98894a30f8740217c46 (patch) | |
tree | ab1b61a7fb657b9ef5c58d88cc6b63b9da933782 /arch | |
parent | 43c6ba1a72a9120b0d4d0f0c283c89b2e5fc51e5 (diff) |
ARM: dts: msm: configure default CMA region for msmcobalt
Configure the size of the default CMA region in DT.
Configuring the default CMA region in the DT is cleaner than using
CONFIG_CMA_SIZE_MBYTES since it is easier to configure per target
and the alloc ranges can be specified in DT.
CRs-Fixed: 1024204
Change-Id: I7d999382dcb6223d84424173a1726c250520ad04
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/qcom/msmcobalt.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msmcobalt.dtsi b/arch/arm/boot/dts/qcom/msmcobalt.dtsi index e7ea6f449b6d..cd14932b6b10 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt.dtsi @@ -310,6 +310,16 @@ alignment = <0 0x200000>; size = <0 0x5c00000>; }; + + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + alloc-ranges = <0 0x00000000 0 0xffffffff>; + reusable; + alignment = <0 0x400000>; + size = <0 0x2000000>; + linux,cma-default; + }; }; }; |