xilisf: Added qspipsu support in tcl file.

This patch add qspipsu peripheral support in
tcl file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
This commit is contained in:
P L Sai Krishna 2015-08-07 21:41:38 +05:30 committed by Nava kishore Manne
parent 9a1c2b947c
commit a75b45ece3

View file

@ -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
}