From 7446107f39a641962b9597d9b0a52d7bd474ad5c Mon Sep 17 00:00:00 2001 From: Kishore Kumar Korathaluri Date: Mon, 5 Jan 2015 15:18:38 +0530 Subject: [PATCH] rsa_auth_app : added namespace for all HSI TCL commands. Signed-off-by: Kishore Kumar Korathaluri --- lib/sw_apps/rsa_auth_app/data/rsa_auth_app.tcl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/sw_apps/rsa_auth_app/data/rsa_auth_app.tcl b/lib/sw_apps/rsa_auth_app/data/rsa_auth_app.tcl index 6198116a..8538b479 100755 --- a/lib/sw_apps/rsa_auth_app/data/rsa_auth_app.tcl +++ b/lib/sw_apps/rsa_auth_app/data/rsa_auth_app.tcl @@ -7,7 +7,7 @@ proc swapp_get_description {} { } proc get_stdout {} { - set os [get_os] + set os [hsi::get_os] if { $os == "" } { error "No Operating System specified in the Board Support Package."; } @@ -16,9 +16,9 @@ proc get_stdout {} { } proc check_stdout_hw {} { - set slaves [get_property SLAVES [get_cells [get_sw_processor]]] + set slaves [get_property SLAVES [hsi::get_cells [hsi::get_sw_processor]]] foreach slave $slaves { - set slave_type [get_property IP_NAME [get_cells $slave]]; + set slave_type [get_property IP_NAME [hsi::get_cells $slave]]; # Check for MDM-Uart peripheral. The MDM would be listed as a peripheral # only if it has a UART interface. So no further check is required if { $slave_type == "ps7_uart" || $slave_type == "axi_uartlite" || @@ -41,10 +41,10 @@ proc check_stdout_sw {} { proc swapp_is_supported_hw {} { # check processor type - set proc_instance [get_sw_processor]; + set proc_instance [hsi::get_sw_processor]; set hw_processor [get_property HW_INSTANCE $proc_instance] - set proc_type [get_property IP_NAME [get_cells $hw_processor]]; + set proc_type [get_property IP_NAME [hsi::get_cells $hw_processor]]; if { $proc_type != "ps7_cortexa9" } { error "This application is supported only for CortexA9 processors."; @@ -61,7 +61,7 @@ proc swapp_is_supported_sw {} { check_stdout_sw; # make sure xilrsa is available - set librarylist [get_libs -filter "NAME==xilrsa"]; + set librarylist [hsi::get_libs -filter "NAME==xilrsa"]; if { [llength $librarylist] == 0 } { error "This application requires xilrsa library in the Board Support Package.";