]> git.baikalelectronics.ru Git - uboot.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)
commit1254852e511211d7c082f738f62d0462e93b45f2
treeee1feb49ffc22292cdad384b621ca6a307b113ae
parente4ba7a612c41a624a8e1bf0caf52d291a66cc415
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