]> git.dujemihanovic.xyz Git - u-boot.git/commit
ppc: qemu: Create a virtual memory mapping of the platform bus
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:04 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commitb3398993ba8d6bc9773ca6e41fac8c50db6d58de
tree7ffbd0e734ef7cd828ddb36d0084edbced856060
parentea8971cdde308153f24d8374e24d1ff0a4dec433
ppc: qemu: Create a virtual memory mapping of the platform bus

QEMU ppce500 target can dynamically instantiate an eTSEC device on
a platform bus if "-device eTSEC" is given to QEMU. It is presented
as a "simple-bus" in the device tree, with an additional compatible
string "qemu,platform".

Let's create a virtual memory mapping for it in misc_init_r(), in
preparation to adding eTSEC support.

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>
board/emulation/qemu-ppce500/Kconfig
board/emulation/qemu-ppce500/qemu-ppce500.c
configs/qemu-ppce500_defconfig