OSDN Git Service

hw/riscv/virtio: Set the soc device tree node as a simple-bus
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 19 Jun 2018 21:21:47 +0000 (14:21 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 5 Sep 2018 16:58:38 +0000 (09:58 -0700)
commit53f54508dae677bb88d5b7ac46ed05e7da41326e
tree00839684d21db1cf247d12a4e0e5283290acbb11
parentccf08e40bfeede0233c065645ca46efb0dd4c6bf
hw/riscv/virtio: Set the soc device tree node as a simple-bus

To allow Linux to enumerate devices on the /soc/ node set it as a
"simple-bus".

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/riscv/virt.c