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>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commite47ce08d600fa6e14f1e95763f81e12186f749c8
tree9c2c357757a4826d865eb80951d0804e823686a9
parent5715ca3be2eca452aa205ecc3962845fb8aed3ad
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>
board/emulation/qemu-ppce500/Kconfig
board/emulation/qemu-ppce500/qemu-ppce500.c
configs/qemu-ppce500_defconfig