Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710769 > unrolled thread

[PATCH v3 06/10] arm64: dts: hikey960: Add pstore support

Started byGuodong Xu <guodong.xu@linaro.org>
First post2017-08-14 12:00 +0200
Last post2017-08-14 12:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 06/10] arm64: dts: hikey960: Add pstore support Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200

#1710769 — [PATCH v3 06/10] arm64: dts: hikey960: Add pstore support

FromGuodong Xu <guodong.xu@linaro.org>
Date2017-08-14 12:00 +0200
Subject[PATCH v3 06/10] arm64: dts: hikey960: Add pstore support
Message-ID<uekk9-2xb-3@gated-at.bofh.it>
This patch reserves some memory in the DTS and sets up a
pstore device tree node to enable pstore support on HiKey960.

Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index ce5e874..7770ec7 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -39,6 +39,20 @@
 		reg = <0x0 0x0 0x0 0x0>;
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		ramoops@32000000 {
+			compatible = "ramoops";
+			reg = <0x0 0x32000000 0x0 0x00100000>;
+			record-size	= <0x00020000>;
+			console-size	= <0x00020000>;
+			ftrace-size	= <0x00020000>;
+		};
+	};
+
 	reboot-mode-syscon@32100000 {
 		compatible = "syscon", "simple-mfd";
 		reg = <0x0 0x32100000 0x0 0x00001000>;
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web