Skip to content

Commit

Permalink
bsp: standalone: Fix -filter in standalone.tcl so that can find T…
Browse files Browse the repository at this point in the history
…TC2/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 <[email protected]>
  • Loading branch information
Tosainu committed Dec 7, 2024
1 parent be4f96f commit e2b09e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bsp/standalone/data/standalone.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"} {
Expand Down

0 comments on commit e2b09e0

Please sign in to comment.