[target][visionfive2] set the time base properly

Seems to be running at 4Mhz according to the device tree.
This commit is contained in:
Travis Geiselbrecht
2023-03-09 23:20:18 -08:00
parent 7c2c8d8e56
commit a1eb850079
2 changed files with 3 additions and 4 deletions

View File

@@ -5,3 +5,6 @@ MODULE := $(LOCAL_DIR)
PLATFORM := jh7110
MEMSIZE ?= 0x200000000 # 8GB
# set time base
GLOBAL_DEFINES += ARCH_RISCV_MTIME_RATE=4000000