summaryrefslogtreecommitdiff
path: root/platform/kendryte/k210/platform.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-11-24 08:48:27 +0300
committerAnup Patel <anup@brainfault.org>2020-12-01 14:38:47 +0300
commitda074796df871f6323d052f123b7668d390980dc (patch)
treef4a14506d83134b0953db75657ed07c8a9d0420b /platform/kendryte/k210/platform.c
parentc4acc60a4694a45ac154948efa300adbf30d0425 (diff)
downloadopensbi-da074796df871f6323d052f123b7668d390980dc.tar.xz
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/k210/platform.c')
-rw-r--r--platform/kendryte/k210/platform.c10
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 = {