git: 6b599b34dfb3 - main - bhyve/riscv: remove clock-frequency from CPU node.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 11:51:53 UTC
The branch main has been updated by br:
URL: https://cgit.FreeBSD.org/src/commit/?id=6b599b34dfb32f8a28b1e37a1781c19179e883f2
commit 6b599b34dfb32f8a28b1e37a1781c19179e883f2
Author: Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2025-02-03 11:42:45 +0000
Commit: Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2025-02-03 11:42:50 +0000
bhyve/riscv: remove clock-frequency from CPU node.
Remove CPU clock-frequency property as incorrectly constructed
and not needed.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D48712
---
usr.sbin/bhyve/riscv/fdt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr.sbin/bhyve/riscv/fdt.c b/usr.sbin/bhyve/riscv/fdt.c
index fa66b761f08c..bf5ec114cda0 100644
--- a/usr.sbin/bhyve/riscv/fdt.c
+++ b/usr.sbin/bhyve/riscv/fdt.c
@@ -96,7 +96,6 @@ add_cpu(void *fdt, int cpuid, const char *isa)
fdt_property_u32(fdt, "reg", cpuid);
fdt_property_string(fdt, "riscv,isa", isa);
fdt_property_string(fdt, "mmu-type", "riscv,sv39");
- fdt_property_string(fdt, "clock-frequency", "1000000000");
fdt_begin_node(fdt, "interrupt-controller");
intc0_phandle = assign_phandle(fdt);