From e5e656ad486fe5020642fe2a284abd5a9883ff28 Mon Sep 17 00:00:00 2001 From: Hrishabh Rajput Date: Tue, 16 Jul 2024 19:26:56 +0530 Subject: [PATCH] ARM: dts: msm: Fix trust_ui_vm_mem alignment for Parrot Parrot need to follow non-relocatable absolute addresses for VM due to firmware constraints. VM kernel load address is the start address of the vm_mem_region and build system requires the load address of the kernel to be 2MB aligned. This patch adjusts the start address of the trust_ui_vm_mem region for Parrot to align to 2MB. This also means reducing its size by 1MB. Change-Id: I1816ec5f6ff18f55ecc4dec39958d442151f8cb0 Signed-off-by: Hrishabh Rajput Signed-off-by: Swetha Chikkaboraiah --- qcom/parrot-reserved-memory.dtsi | 4 ++-- qcom/ravelin-reserved-memory.dtsi | 4 ++-- qcom/waipio-vm.dtsi | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qcom/parrot-reserved-memory.dtsi b/qcom/parrot-reserved-memory.dtsi index d4ab5c93..33496207 100644 --- a/qcom/parrot-reserved-memory.dtsi +++ b/qcom/parrot-reserved-memory.dtsi @@ -134,9 +134,9 @@ reg = <0x0 0xe0600000 0x0 0x400000>; }; - trust_ui_vm_mem: trust_ui_vm_region@e0b00000 { + trust_ui_vm_mem: trust_ui_vm_region@e0c00000 { no-map; - reg = <0x0 0xe0b00000 0x0 0x4af3000>; + reg = <0x0 0xe0c00000 0x0 0x49f3000>; }; trust_ui_vm_qrtr: trust_ui_vm_qrtr@e55f3000 { diff --git a/qcom/ravelin-reserved-memory.dtsi b/qcom/ravelin-reserved-memory.dtsi index 03120f6d..9fefd3db 100644 --- a/qcom/ravelin-reserved-memory.dtsi +++ b/qcom/ravelin-reserved-memory.dtsi @@ -129,9 +129,9 @@ reg = <0x0 0xe0600000 0x0 0x400000>; }; - trust_ui_vm_mem: trust_ui_vm_region@e0b00000 { + trust_ui_vm_mem: trust_ui_vm_region@e0c00000 { no-map; - reg = <0x0 0xe0b00000 0x0 0x4af3000>; + reg = <0x0 0xe0c00000 0x0 0x49f3000>; }; trust_ui_vm_qrtr: trust_ui_vm_qrtr@e55f3000 { diff --git a/qcom/waipio-vm.dtsi b/qcom/waipio-vm.dtsi index 2fbeed73..7e9220d5 100644 --- a/qcom/waipio-vm.dtsi +++ b/qcom/waipio-vm.dtsi @@ -105,7 +105,7 @@ memory { #address-cells = <0x2>; #size-cells = <0x0>; - base-address = <0x0 0xe0b00000>; + base-address = <0x0 0xe0c00000>; size-min = <0x0 0x7a00000>; /* 122 MB */ };