Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AXI DMA and VDMA: change errors for (falsely) unconnected IRQs to warnings #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions axi_dma/data/axi_dma.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ proc generate {drv_handle} {
if { [llength $intr_info] && ![string match -nocase $intr_info "-1"] } {
hsi::utils::add_new_dts_param $tx_chan_node "interrupts" $intr_info intlist
} else {
error "ERROR: ${drv_handle}: mm2s_introut port is not connected"
puts "WARNING: ${drv_handle}: mm2s_introut port is not connected"
}
add_dma_coherent_prop $drv_handle "M_AXI_MM2S"
}
Expand All @@ -79,7 +79,7 @@ proc generate {drv_handle} {
if { [llength $intr_info] && ![string match -nocase $intr_info "-1"] } {
hsi::utils::add_new_dts_param $rx_chan_node "interrupts" $intr_info intlist
} else {
error "ERROR: ${drv_handle}: s2mm_introut port is not connected"
puts "WARNING: ${drv_handle}: s2mm_introut port is not connected"
}
add_dma_coherent_prop $drv_handle "M_AXI_S2MM"
}
Expand Down
4 changes: 2 additions & 2 deletions axi_vdma/data/axi_vdma.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ proc generate {drv_handle} {
if { [llength $intr_info] && ![string match -nocase $intr_info "-1"] } {
hsi::utils::add_new_dts_param $tx_chan_node "interrupts" $intr_info intlist
} else {
error "ERROR: ${drv_handle}: mm2s_introut port is not connected"
puts "WARNING: ${drv_handle}: mm2s_introut port is not connected"
}
}
set rx_chan [hsi::utils::get_ip_param_value $dma_ip C_INCLUDE_S2MM]
Expand All @@ -79,7 +79,7 @@ proc generate {drv_handle} {
if { [llength $intr_info] && ![string match -nocase $intr_info "-1"] } {
hsi::utils::add_new_dts_param $rx_chan_node "interrupts" $intr_info intlist
} else {
error "ERROR: ${drv_handle}: s2mm_introut port is not connected"
puts "WARNING: ${drv_handle}: s2mm_introut port is not connected"
}
}
incr vdma_count
Expand Down