From 4936dcd8254196a18ff8291155f99e31f1efd204 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 25 Oct 2020 01:18:02 -0700 Subject: [PATCH] arm64: dts: atoll: Remove unused 36 MiB memdump region This reserved memory dump region is intended to be used with the memory dump v2 driver, but we've disabled that and we don't need this memory dumping functionality. Remove the unused region and assiciated driver node to save 36 MiB of memory. Signed-off-by: Danny Lin Change-Id: I5f784d6a88ff00b26a49fc507bd05881a9822965 --- arch/arm64/boot/dts/qcom/atoll.dtsi | 62 ----------------------------- 1 file changed, 62 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/atoll.dtsi b/arch/arm64/boot/dts/qcom/atoll.dtsi index c09e2ac6684d..d07195e873fa 100755 --- a/arch/arm64/boot/dts/qcom/atoll.dtsi +++ b/arch/arm64/boot/dts/qcom/atoll.dtsi @@ -616,13 +616,6 @@ size = <0x0 0x800000>; }; - dump_mem: mem_dump_region { - compatible = "shared-dma-pool"; - alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; - reusable; - size = <0 0x2400000>; - }; - /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool"; @@ -1928,61 +1921,6 @@ }; }; - mem_dump { - compatible = "qcom,mem-dump"; - memory-region = <&dump_mem>; - - rpmh { - qcom,dump-size = <0x2000000>; - qcom,dump-id = <0xec>; - }; - - rpm_sw { - qcom,dump-size = <0x28000>; - qcom,dump-id = <0xea>; - }; - - pmic { - qcom,dump-size = <0x80000>; - qcom,dump-id = <0xe4>; - }; - - fcm { - qcom,dump-size = <0x8400>; - qcom,dump-id = <0xee>; - }; - - etf_swao { - qcom,dump-size = <0x10000>; - qcom,dump-id = <0xf1>; - }; - - etr_reg { - qcom,dump-size = <0x1000>; - qcom,dump-id = <0x100>; - }; - - etfswao_reg { - qcom,dump-size = <0x1000>; - qcom,dump-id = <0x102>; - }; - - misc_data { - qcom,dump-size = <0x1000>; - qcom,dump-id = <0xe8>; - }; - - etf_lpass { - qcom,dump-size = <0x4000>; - qcom,dump-id = <0xf4>; - }; - - etflpass_reg { - qcom,dump-size = <0x1000>; - qcom,dump-id = <0x104>; - }; - }; - clocks { sleep_clk: sleep-clk { compatible = "fixed-clock";