* [PATCH] [PATCH] Fix SiFive E CLINT clock frequency (#1978)
@ 2023-11-13 14:51 Román Cárdenas
0 siblings, 0 replies; only message in thread
From: Román Cárdenas @ 2023-11-13 14:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Román Cárdenas
---
hw/riscv/sifive_e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c
index 0d37adc542..87d9602383 100644
--- a/hw/riscv/sifive_e.c
+++ b/hw/riscv/sifive_e.c
@@ -225,7 +225,7 @@ static void sifive_e_soc_realize(DeviceState *dev, Error **errp)
RISCV_ACLINT_SWI_SIZE,
RISCV_ACLINT_DEFAULT_MTIMER_SIZE, 0, ms->smp.cpus,
RISCV_ACLINT_DEFAULT_MTIMECMP, RISCV_ACLINT_DEFAULT_MTIME,
- RISCV_ACLINT_DEFAULT_TIMEBASE_FREQ, false);
+ SIFIVE_E_LFCLK_DEFAULT_FREQ, false);
sifive_e_prci_create(memmap[SIFIVE_E_DEV_PRCI].base);
/* AON */
--
2.39.3 (Apple Git-145)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-13 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 14:51 [PATCH] [PATCH] Fix SiFive E CLINT clock frequency (#1978) Román Cárdenas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.