riscv: qemu: Create a simple-bus driver for the soc node
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:25 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:26 +0000 (09:56 +0800)
commit27dc2c130e29093ba88630e8947d189641bda442
treeaecdc62e30a6d561be6d67cf92fb1b45c48da674
parentb859694776a522da9fd7d3ca2d8c027d6776c791
riscv: qemu: Create a simple-bus driver for the soc node

To enumerate devices on the /soc/ node, create a "simple-bus"
driver to match "riscv-virtio-soc".

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
arch/riscv/cpu/qemu/cpu.c