• Ambroz Bizjak's avatar
    bios: Fix build when ethphy is present but ethmac is not. · ca70ea91
    Ambroz Bizjak authored
    While testing my Ethernet DMA, I renamed the `ethmac` module to `ethmac_dma` so that it wouldn't be used from the BIOS, but I got an undefined reference to `eth_init` because `bios.c` checks different CSR defines than the code that defines `eth_init`.
main.c 9.59 KB