ppc: qemu: Enable eTSEC support
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:05 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commit01e02d5f62251db1e83424804b84118370dcf865
treef02766885ec0692c98af9b361ddebd3a02dc6201
parente47ce08d600fa6e14f1e95763f81e12186f749c8
ppc: qemu: Enable eTSEC support

QEMU ppce500 target can dynamically instantiate an eTSEC device
if "-device eTSEC" is given to QEMU. This commit enables eTSEC
driver and the required fixed PHY driver to create a usable
network configuration using eTSEC.

Unlike a real world 85xx board that usually stores the eTSEC MAC
address in an EEPROM, CONFIG_NET_RANDOM_ETHADDR is required for
QEMU otherwise U-Boot ethernet initialization complains no valid
ethernet address is set.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
configs/qemu-ppce500_defconfig