ARM: dts: msm: Enable qcom,ramoops device
qcom,ramoops driver takes memory dynamically available from a given range and give it to ramoops for its usage. Change-Id: I94ece0f9d25719e240ecb5c7f47a3b1fe83fbab1 Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
This commit is contained in:
@@ -2087,6 +2087,13 @@
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
qcom_ramoops {
|
||||
compatible = "qcom,ramoops";
|
||||
memory-region = <&ramoops_mem>;
|
||||
pmsg-size = <0x200000>;
|
||||
mem-type = <2>;
|
||||
};
|
||||
|
||||
logbuf: qcom,logbuf-vendor-hooks {
|
||||
compatible = "qcom,logbuf-vendor-hooks";
|
||||
};
|
||||
@@ -3726,6 +3733,12 @@
|
||||
size = <0 0x1000000>;
|
||||
};
|
||||
|
||||
ramoops_mem: ramoops-region {
|
||||
alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>;
|
||||
size = <0x0 0x200000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
qmc_dma_mem: qmc_dma_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
|
Reference in New Issue
Block a user