From 7a1837b93e14b9fe27db4e192195edd8be7f9394 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Fri, 10 May 2024 18:22:24 -0700 Subject: [PATCH] ARM: dts: msm: save 2M vmemmap of memory on pineapple and sun There is 16K of DDR in a section memory and the rest is carveout in a memory region [0x98000000 a0000000). As section size is 128M, which require 2M of memmap. Lose this 16K to save (2M - 16K) of memory. Change-Id: Ibca933768e89a978b97fe37a07938a08141d2e87 Signed-off-by: Patrick Daly --- qcom/pineapple.dtsi | 5 +++++ qcom/sun.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/qcom/pineapple.dtsi b/qcom/pineapple.dtsi index c2303005..4f2e3626 100644 --- a/qcom/pineapple.dtsi +++ b/qcom/pineapple.dtsi @@ -3249,6 +3249,11 @@ reg = <0x0 0x9b09a000 0x0 0x2000>; }; + lost_reg_mem { + no-map; + reg = <0x0 0x9b09c000 0x0 0x4000>; + }; + spss_region_mem: spss_region_region@9b0a0000 { no-map; reg = <0x0 0x9b0a0000 0x0 0x1e0000>; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 068912c1..6172d633 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3668,6 +3668,11 @@ reg = <0x0 0x9b09a000 0x0 0x2000>; }; + lost_reg_mem { + no-map; + reg = <0x0 0x9b09c000 0x0 0x4000>; + }; + spss_region_mem: spss_region_region@9b0a0000 { no-map; reg = <0x0 0x9b0a0000 0x0 0x1e0000>;