mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 14:48:20 +00:00
committed by
Christian Helmuth
parent
2af5dbc201
commit
ad99688853
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user