diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2018-08-20 15:21:11 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2018-09-05 09:58:38 -0700 |
commit | 117caacf9b427ef7d2161f15372e1572f1a384b3 (patch) | |
tree | 784f4ee0d2dad23b6a27b06ccbe9647634be2704 /hw/riscv | |
parent | 53f54508dae677bb88d5b7ac46ed05e7da41326e (diff) | |
download | qemu-117caacf9b427ef7d2161f15372e1572f1a384b3.zip qemu-117caacf9b427ef7d2161f15372e1572f1a384b3.tar.gz qemu-117caacf9b427ef7d2161f15372e1572f1a384b3.tar.bz2 |
hw/riscv/spike: 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>
Diffstat (limited to 'hw/riscv')
-rw-r--r-- | hw/riscv/spike.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index c8c056c..eb857c4 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -90,7 +90,7 @@ static void create_fdt(SpikeState *s, const struct MemmapEntry *memmap, qemu_fdt_add_subnode(fdt, "/soc"); qemu_fdt_setprop(fdt, "/soc", "ranges", NULL, 0); - qemu_fdt_setprop_string(fdt, "/soc", "compatible", "ucbbar,spike-bare-soc"); + qemu_fdt_setprop_string(fdt, "/soc", "compatible", "simple-bus"); qemu_fdt_setprop_cell(fdt, "/soc", "#size-cells", 0x2); qemu_fdt_setprop_cell(fdt, "/soc", "#address-cells", 0x2); |