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:
parent
9a1c2b947c
commit
a75b45ece3
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue