sw_services: added check of R5 processor for xilopenamp library
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com> Acked-for-series: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
9e44967224
commit
6ea9d07985
1 changed files with 8 additions and 0 deletions
|
@ -41,7 +41,15 @@
|
|||
# openamp_drc
|
||||
#---------------------------------------------
|
||||
proc openamp_drc {libhandle} {
|
||||
# check processor type
|
||||
set proc_instance [hsi::get_sw_processor];
|
||||
set hw_processor [common::get_property HW_INSTANCE $proc_instance]
|
||||
|
||||
set proc_type [common::get_property IP_NAME [hsi::get_cells -hier $hw_processor]];
|
||||
if { $proc_type != "psu_cortexr5" } {
|
||||
error "ERROR: This library is supported only for CortexR5 processors.";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
proc generate {libhandle} {
|
||||
|
|
Loading…
Add table
Reference in a new issue