Files
lk/target/visionfive2/rules.mk
Travis Geiselbrecht a1eb850079 [target][visionfive2] set the time base properly
Seems to be running at 4Mhz according to the device tree.
2023-03-09 23:20:18 -08:00

11 lines
169 B
Makefile

LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
PLATFORM := jh7110
MEMSIZE ?= 0x200000000 # 8GB
# set time base
GLOBAL_DEFINES += ARCH_RISCV_MTIME_RATE=4000000