From e2b09e052b466c538184595a7d1c680e69004ae4 Mon Sep 17 00:00:00 2001 From: Kenta Sato Date: Tue, 5 Nov 2024 21:21:55 +0900 Subject: [PATCH] bsp: standalone: Fix `-filter` in `standalone.tcl` so that can find TTC2/3 properly When using the isolation-enabled design. BSP doesn't find either TTC2 or TTC3 even if it's in the subsystem for the target processor. The problem is in `is_ttc_accessible_from_processor`: the argument passed to `-filter` looks different from other places. Signed-off-by: Kenta Sato --- lib/bsp/standalone/data/standalone.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bsp/standalone/data/standalone.tcl b/lib/bsp/standalone/data/standalone.tcl index 3a43f5777aa..7074fd9fbf3 100644 --- a/lib/bsp/standalone/data/standalone.tcl +++ b/lib/bsp/standalone/data/standalone.tcl @@ -258,7 +258,7 @@ proc get_processor_access {} { proc is_ttc_accessible_from_processor {ttc_instance} { set sw_proc_handle [hsi::get_sw_processor] set hw_proc_handle [hsi::get_cells -hier [common::get_property HW_INSTANCE $sw_proc_handle] ] - set ttc_instance [get_mem_ranges -of_objects [get_cells -hier $sw_proc_handle] -filter { INSTANCE == "$ttc_instance" }] + set ttc_instance [get_mem_ranges -of_objects [get_cells -hier $sw_proc_handle] -filter "INSTANCE==$ttc_instance"] set r5_tz [common::get_property CONFIG.C_TZ_NONSECURE $hw_proc_handle] if {$r5_tz == "" || $r5_tz == "0"} {