From 1cc82003e71a7db1390dfbc6ac067a0045e209ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 21 Jun 2024 16:29:04 +0200 Subject: [PATCH] soc: riscv: litex: use value from dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use value from dts for CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC. Signed-off-by: Fin Maaß --- soc/litex/litex_vexriscv/Kconfig.defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/litex/litex_vexriscv/Kconfig.defconfig b/soc/litex/litex_vexriscv/Kconfig.defconfig index 40241c150fa..d4759b8d0e8 100644 --- a/soc/litex/litex_vexriscv/Kconfig.defconfig +++ b/soc/litex/litex_vexriscv/Kconfig.defconfig @@ -4,7 +4,7 @@ if SOC_LITEX_VEXRISCV config SYS_CLOCK_HW_CYCLES_PER_SEC - default 100000000 + default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) config NUM_IRQS default 12