From: Ao Xu Date: Tue, 15 Aug 2017 06:03:53 +0000 (+0800) Subject: pstore: add CONFIG_PSTORE_PMSG, add dts node in gxl_p212_2g.dts X-Git-Tag: khadas-vims-v0.9.6-release~2934 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6bc0a9c826da1ef572df13a62a1cb828693275fb;p=platform%2Fkernel%2Flinux-amlogic.git pstore: add CONFIG_PSTORE_PMSG, add dts node in gxl_p212_2g.dts PD#149300: pstore: add CONFIG_PSTORE_PMSG, add dts node in gxl_p212_2g.dts Change-Id: I4407180bcde350fe4204380dacc9c8450ce254e0 Signed-off-by: Ao Xu --- diff --git a/arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts b/arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts index 651dd47..402afb7 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts @@ -50,6 +50,14 @@ #size-cells = <2>; ranges; /* global autoconfigured region for contiguous allocations */ + ramoops@0x07300000 { + compatible = "ramoops"; + reg = <0x0 0x07300000 0x0 0x00100000>; + record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; secmon_reserved:linux,secmon { compatible = "shared-dma-pool"; reusable; diff --git a/arch/arm64/configs/meson64_defconfig b/arch/arm64/configs/meson64_defconfig index 95fe275..6123b24 100644 --- a/arch/arm64/configs/meson64_defconfig +++ b/arch/arm64/configs/meson64_defconfig @@ -464,6 +464,7 @@ CONFIG_CRAMFS=y CONFIG_SQUASHFS=y CONFIG_PSTORE=y CONFIG_PSTORE_CONSOLE=y +CONFIG_PSTORE_PMSG=y CONFIG_PSTORE_RAM=y CONFIG_NFS_FS=y # CONFIG_NFS_V2 is not set