diff options
| author | Udit Kumar <u-kumar1@ti.com> | 2025-01-13 09:55:24 +0530 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-01-20 08:32:48 -0600 | 
| commit | 0d837cb075fd0d47a63469c0229966f6328cf165 (patch) | |
| tree | 119ef0acaa4e4af920763b92f7f32255bb0e14b3 | |
| parent | 138022a241de60245a113a10f8075ac602966374 (diff) | |
arch: arm: mach-k3: Delete tifs node in DT fixup
Delete tifs DT node as part of fixup.
TISCI API reported msmc_size, does not include 64KB reserved size for
tifs aka MSMC comms memory, see documentation[0].
As part of fixup, original code uses TISCI API reported msmc_size as
size for SRAM DT node.
tifs node is similar to l3-cache, which should hold address above
msmc_size, and should be deleted before passing control to OS.
[0] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html?highlight=msmc#tisci-msg-query-msmc
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
| -rw-r--r-- | arch/arm/mach-k3/common_fdt.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/arch/arm/mach-k3/common_fdt.c b/arch/arm/mach-k3/common_fdt.c index 3bdedd7b509..4a016711566 100644 --- a/arch/arm/mach-k3/common_fdt.c +++ b/arch/arm/mach-k3/common_fdt.c @@ -65,6 +65,7 @@ static int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name)  		      subnode, addr, size);  		if (addr + size > msmc_size ||  		    !strncmp(fdt_get_name(blob, subnode, &len), "sysfw", 5) || +		    !strncmp(fdt_get_name(blob, subnode, &len), "tifs", 4)  ||  		    !strncmp(fdt_get_name(blob, subnode, &len), "l3cache", 7)) {  			fdt_del_node(blob, subnode);  			debug("%s: deleting subnode %d\n", __func__, subnode); | 
