dts: debug: enable ftrace_ramoops for p212 [1/1]
authorhuijie.huang <huijie.huang@amlogic.com>
Mon, 1 Jul 2019 09:14:32 +0000 (17:14 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 1 Jul 2019 11:21:00 +0000 (04:21 -0700)
PD#SWPL-6028

Problem:
enable ftrce in ramoops for p212 dtbs

Solution:
enable ftrce in ramoops for p212 dtbs

Verify:
P212

Change-Id: I2a4cb76614b44b91996d33775a5f73f91e457d0e
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
arch/arm/boot/dts/amlogic/gxl_p212_1g.dts
arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts

index 40215ac0b57ee8c8a59975d63b50231ef34210e3..5eb7752f07fee2944bce603b60ee1f460b0a0206 100644 (file)
                #size-cells = <1>;
                ranges;
                /* global autoconfigured region for contiguous allocations */
+               ramoops@0x07400000 {
+                       compatible = "ramoops";
+                       reg = <0x07400000 0x00100000>;
+                       record-size = <0x8000>;
+                       console-size = <0x8000>;
+                       ftrace-size = <0x40000>;
+               };
                secmon_reserved:linux,secmon {
                        compatible = "shared-dma-pool";
                        reusable;
index b24668ad70a6d2e9f79a0773785ea30d4b4aa352..46a627790948e43df364be784098542442b1177d 100644 (file)
                #size-cells = <2>;
                ranges;
                /* global autoconfigured region for contiguous allocations */
+               ramoops@0x07400000 {
+                       compatible = "ramoops";
+                       reg = <0x0 0x07400000 0x0 0x00100000>;
+                       record-size = <0x8000>;
+                       console-size = <0x8000>;
+                       ftrace-size = <0x40000>;
+               };
                secmon_reserved:linux,secmon {
                        compatible = "shared-dma-pool";
                        reusable;