From 2ae2cb81f7a4a3fee72c2eaae1d785584d499c4e Mon Sep 17 00:00:00 2001 From: "huijie.huang" Date: Mon, 1 Jul 2019 17:14:32 +0800 Subject: [PATCH] dts: debug: enable ftrace_ramoops for p212 [1/1] 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 --- arch/arm/boot/dts/amlogic/gxl_p212_1g.dts | 7 +++++++ arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/gxl_p212_1g.dts b/arch/arm/boot/dts/amlogic/gxl_p212_1g.dts index 40215ac..5eb7752 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p212_1g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p212_1g.dts @@ -50,6 +50,13 @@ #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; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts b/arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts index b24668a..46a6277 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts @@ -50,6 +50,13 @@ #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; -- 2.7.4