summaryrefslogtreecommitdiff
path: root/include/configs/sifive-fu540.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sifive-fu540.h')
-rw-r--r--include/configs/sifive-fu540.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h
index c1c79db1474..0d69d1c5482 100644
--- a/include/configs/sifive-fu540.h
+++ b/include/configs/sifive-fu540.h
@@ -36,6 +36,11 @@
#define CONFIG_STANDALONE_LOAD_ADDR 0x80200000
+#define RISCV_MMODE_TIMERBASE 0x2000000
+#define RISCV_MMODE_TIMER_FREQ 1000000
+
+#define RISCV_SMODE_TIMER_FREQ 1000000
+
/* Environment options */
#ifndef CONFIG_SPL_BUILD