summaryrefslogtreecommitdiff
path: root/platform/kendryte
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2019-01-23 05:33:20 +0300
committerAnup Patel <anup@brainfault.org>2019-01-23 06:09:26 +0300
commit36394d2f2429c48d1db4e26ad25f9541c8c1027f (patch)
tree5b9531f46c3053b4ad70f4775b1836289ecd682a /platform/kendryte
parentd25774ff962c7448d6e46e102e183d11abfd2ef2 (diff)
downloadopensbi-36394d2f2429c48d1db4e26ad25f9541c8c1027f.tar.xz
include: Drop MMIO from SBI_PLATFORM_HAS_MMIO_TIMER_VALUE
It is not necessary that platform has MMIO-based timer value register. It can also have some custom (implementation specific) CSR for timer value. This patch renames SBI_PLATFORM_HAS_MMIO_TIMER_VALUE to SBI_PLATFORM_HAS_TIMER_VALUE to imply "platform timer value" instead of "mmio timer value". Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform/kendryte')
-rw-r--r--platform/kendryte/k210/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c
index 0b944be..acb453d 100644
--- a/platform/kendryte/k210/platform.c
+++ b/platform/kendryte/k210/platform.c
@@ -101,7 +101,7 @@ static int k210_system_shutdown(u32 type)
struct sbi_platform platform = {
.name = "Kendryte K210",
- .features = SBI_PLATFORM_HAS_MMIO_TIMER_VALUE,
+ .features = SBI_PLATFORM_HAS_TIMER_VALUE,
.hart_count = K210_HART_COUNT,
.hart_stack_size = K210_HART_STACK_SIZE,