imx53_qsb: enable automated network tests

Fix #2749
This commit is contained in:
Stefan Kalkowski
2018-04-10 11:46:45 +02:00
committed by Christian Helmuth
parent 2af5dbc201
commit ad99688853
4 changed files with 19 additions and 4 deletions

View File

@ -36,11 +36,23 @@ proc need_usb_hid { } {
proc nic_drv_binary { } {
if {[have_spec linux]} { return linux_nic_drv }
if {[have_spec omap4] || [have_spec arndale] || [have_spec rpi]} { return usb_drv }
if {!([have_spec imx53] || [have_spec riscv] || [have_spec odroid_xu])} { return nic_drv }
if {!([have_spec riscv] || [have_spec odroid_xu])} { return nic_drv }
return no_nic_drv_available
}
##
# Return configuration for NIC driver
#
proc nic_drv_config { } {
if {[have_spec imx53]} {
return "<config><card type=\"fsl,imx25-fec\" mii=\"rmii\" irq=\"87\" mmio=\"0x63fec000\"/></config>" }
if {[have_spec wand_quad]} {
return "<config><card type=\"fsl,imx6q-fec\" mii=\"rgmii\" irq=\"150\" mmio=\"0x2188000\"/></config>" }
return ""
}
##
# Return name of the audio driver binary
#