Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0c2097e authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

ARM: dts: msm: Modify memory allocation for diag on sdm845



The patch removes the boot time allocation for diag and allocates
only on request from peripheral. The new property added ensures
memory will not be freed on free request or ssr case.

Change-Id: I18882de4ce93ec52772553d67789ed89789f5b40
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent bc46a78f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@ Optional properties for child nodes:

- qcom,allocate-boot-time:	Indicates whether clients needs boot time memory allocation.

- qcom,allocate-on-request:	Indicates memory allocation happens only when client requests.

/* "qcom,allocate-boot-time" and "qcom,allocate-on-request" are mutually exclusive properties. */

Example:

qcom,memshare {
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <0x500000>;
			qcom,client-id = <1>;
			qcom,allocate-boot-time;
			qcom,allocate-on-request;
			label = "modem";
		};
	};