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)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 07:28:11 +0000 (15:28 +0800)
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 40215ac..5eb7752 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 b24668a..46a6277 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;