]> git.dujemihanovic.xyz Git - u-boot.git/commit
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>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commitf6e95afc0d9ca0043d54b732d8bf6a14d89105c9
treeee1feb49ffc22292cdad384b621ca6a307b113ae
parentb3398993ba8d6bc9773ca6e41fac8c50db6d58de
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>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
configs/qemu-ppce500_defconfig