diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-11-24 11:18:27 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-12-01 17:08:47 +0530 |
commit | da074796df871f6323d052f123b7668d390980dc (patch) | |
tree | f4a14506d83134b0953db75657ed07c8a9d0420b /platform/kendryte | |
parent | c4acc60a4694a45ac154948efa300adbf30d0425 (diff) |
platform: Remove dummy system reset functions
Few platforms have dummy system reset functions so let's remove
these dummy system reset functions to allow generic code deal
with it in the right way.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform/kendryte')
-rw-r--r-- | platform/kendryte/k210/platform.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c index 75883ed..944b388 100644 --- a/platform/kendryte/k210/platform.c +++ b/platform/kendryte/k210/platform.c @@ -129,14 +129,6 @@ static int k210_timer_init(bool cold_boot) return clint_warm_timer_init(); } -static int k210_system_reset(u32 type) -{ - /* For now nothing to do. */ - sbi_printf("System reset\n"); - - return 0; -} - const struct sbi_platform_operations platform_ops = { .final_init = k210_final_init, @@ -154,8 +146,6 @@ const struct sbi_platform_operations platform_ops = { .timer_value = clint_timer_value, .timer_event_stop = clint_timer_event_stop, .timer_event_start = clint_timer_event_start, - - .system_reset = k210_system_reset }; const struct sbi_platform platform = { |