ARM: dts: msm: configure default CMA region for sdm630
Configure the size of the default CMA region to 32 MB in DT for sdm630. 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. Change-Id: I329ae0aa9cffeed7c30e44749c15fbb83c58b599 Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
This commit is contained in:
parent
01e31721d2
commit
8c98573eaf
1 changed files with 11 additions and 0 deletions
|
@ -320,6 +320,17 @@
|
|||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x5c00000>;
|
||||
};
|
||||
|
||||
/* global autoconfigured region for contiguous allocations */
|
||||
linux,cma {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x2000000>;
|
||||
linux,cma-default;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue