i.MX: Add FEC Ethernet Emulator
commitfcbd8018e645f3ab1ef9af94dc88a0d3272926d3
authorJean-Christophe Dubois <jcd@tribudubois.net>
Mon, 7 Sep 2015 09:39:30 +0000 (7 10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:30 +0000 (7 10:39 +0100)
tree13c6478d02ffe2f355661329971514aeb7e1f95b
parent20d0f9cf6a41bad52baba3ebc485849617cc42cf
i.MX: Add FEC Ethernet Emulator

This is based on mcf_fec.c FEC implementation for Coldfire

  * A generic PHY was added (borrowwed from LAN9118)
  * The buffer management is also modified as buffers are
    slightly different between Coldfire and i.MX

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: fb314f8a120aa49f8f6ad886f312c649b484fb5a.1441057361.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/net/Makefile.objs
hw/net/imx_fec.c [new file with mode: 0644]
include/hw/net/imx_fec.h [new file with mode: 0644]