soc: riscv: litex: use value from dts
use value from dts for CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
1320dc7d99
commit
1cc82003e7
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
if SOC_LITEX_VEXRISCV
|
if SOC_LITEX_VEXRISCV
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||||
default 100000000
|
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
||||||
|
|
||||||
config NUM_IRQS
|
config NUM_IRQS
|
||||||
default 12
|
default 12
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue