diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-23 08:03:20 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-23 08:39:26 +0530 |
commit | 36394d2f2429c48d1db4e26ad25f9541c8c1027f (patch) | |
tree | 5b9531f46c3053b4ad70f4775b1836289ecd682a /platform/kendryte | |
parent | d25774ff962c7448d6e46e102e183d11abfd2ef2 (diff) |
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.c | 2 |
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, |