mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
b3398993ba
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>
18 lines
295 B
Text
18 lines
295 B
Text
if TARGET_QEMU_PPCE500
|
|
|
|
config SYS_BOARD
|
|
default "qemu-ppce500"
|
|
|
|
config SYS_VENDOR
|
|
default "emulation"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "qemu-ppce500"
|
|
|
|
config PLATFORM_BUS_MAP_ADDR
|
|
hex
|
|
default 0xf0000000
|
|
help
|
|
The QEMU platform bus base mapped address in the virtual memory space.
|
|
|
|
endif
|