From a75b45ece3bd53210434dfb5df45552c2d3aaf5b Mon Sep 17 00:00:00 2001 From: P L Sai Krishna Date: Fri, 7 Aug 2015 21:41:38 +0530 Subject: [PATCH] xilisf: Added qspipsu support in tcl file. This patch add qspipsu peripheral support in tcl file. Signed-off-by: P L Sai Krishna Reviewed-by: Harini Katakam --- lib/sw_services/xilisf/data/xilisf.tcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/sw_services/xilisf/data/xilisf.tcl b/lib/sw_services/xilisf/data/xilisf.tcl index 565b1b92..46bb7cd7 100755 --- a/lib/sw_services/xilisf/data/xilisf.tcl +++ b/lib/sw_services/xilisf/data/xilisf.tcl @@ -42,6 +42,7 @@ # Added support to SST flash. # 3.02a srt 05/13/13 Removed compiler errors when not selecting proper # interface for Zynq. (CR 716451) +# 5.4 sk 08/07/15 Updated to support QSPIPSU interface. # ############################################################################## @@ -82,7 +83,8 @@ proc get_spi_periphs {processor} { || $periphname == "axi_spi" || $periphname == "axi_quad_spi" || $periphname == "ps7_spi" - || $periphname == "ps7_qspi"} { + || $periphname == "ps7_qspi" + || $periphname == "psu_qspi"} { lappend spi_periphs_list $periph lappend spi_periphs_name_list $periphname } @@ -159,6 +161,9 @@ proc xgen_opts_file {libhandle} { $serial_flash_interface == 3} { puts $file_handle "\#define XPAR_XISF_INTERFACE_PSQSPI 1" set ifaceselect 1 + } elseif {$periph == "psu_qspi" && $serial_flash_interface == 3} { + puts $file_handle "\#define XPAR_XISF_INTERFACE_QSPIPSU 1" + set ifaceselect 1 } elseif {$periph == "ps7_qspi"} { set ps7qspi 1 }