projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e9437
)
riscv: sifive_u: Update model and compatible strings in device tree
author
Bin Meng
<bmeng.cn@gmail.com>
Fri, 6 Sep 2019 16:20:19 +0000
(09:20 -0700)
committer
Palmer Dabbelt
<palmer@sifive.com>
Tue, 17 Sep 2019 15:42:49 +0000
(08:42 -0700)
This updates model and compatible strings to use the same strings
as used in the Linux kernel device tree (hifive-unleashed-a00.dts).
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c
patch
|
blob
|
history
diff --git
a/hw/riscv/sifive_u.c
b/hw/riscv/sifive_u.c
index 444c699f49aadee88841b3feac735dd7fac4e382..9f8e84bf2ef8d7bad1120b4287c48404796abf85 100644
(file)
--- a/
hw/riscv/sifive_u.c
+++ b/
hw/riscv/sifive_u.c
@@
-96,8
+96,9
@@
static void create_fdt(SiFiveUState *s, const struct MemmapEntry *memmap,
exit(1);
}
- qemu_fdt_setprop_string(fdt, "/", "model", "ucbbar,spike-bare,qemu");
- qemu_fdt_setprop_string(fdt, "/", "compatible", "ucbbar,spike-bare-dev");
+ qemu_fdt_setprop_string(fdt, "/", "model", "SiFive HiFive Unleashed A00");
+ qemu_fdt_setprop_string(fdt, "/", "compatible",
+ "sifive,hifive-unleashed-a00");
qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2);
qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2);