xilffs : added common namespace to all common tcl commands.

Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
Kishore Kumar Korathaluri 2015-01-12 09:46:57 +05:30 committed by Nava kishore Manne
parent 60330dc27f
commit 0e657ff5ef

View file

@ -48,7 +48,7 @@ proc ffs_drc {libhandle} {
# Check if any IP instances that use FATFS are present
set sw_processor [hsi::get_sw_processor]
set processor [hsi::get_cells [get_property HW_INSTANCE $sw_processor]]
set processor [hsi::get_cells [common::get_property HW_INSTANCE $sw_processor]]
set ffs_periphs_list [get_ffs_periphs $processor]
@ -66,7 +66,7 @@ proc get_ffs_periphs {processor} {
set ffs_periphs_name_list {}
foreach periph $periphs_list {
set periphname [get_property IP_NAME $periph]
set periphname [common::get_property IP_NAME $periph]
# Checks if SD instance is present
# This can be expanded to add more instances.
if {$periphname == "ps7_sdio"} {
@ -106,10 +106,10 @@ proc xgen_opts_file {libhandle} {
# Generate parameters for "file system with SD" and "MMC support"
puts $file_handle "/* Xilinx FAT File System Library (XilFFs) User Settings */"
set fs_interface [get_property CONFIG.fs_interface $libhandle]
set enable_mmc [get_property CONFIG.enable_mmc $libhandle]
set fs_interface [common::get_property CONFIG.fs_interface $libhandle]
set enable_mmc [common::get_property CONFIG.enable_mmc $libhandle]
# Checking if SD with FATFS is enabled.
# Checking if SD with FATFS is enabled.
# This can be expanded to add more interfaces.
global ffs_periphs_name_list