diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-11-24 08:48:27 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-12-01 14:38:47 +0300 |
commit | da074796df871f6323d052f123b7668d390980dc (patch) | |
tree | f4a14506d83134b0953db75657ed07c8a9d0420b /platform/sifive | |
parent | c4acc60a4694a45ac154948efa300adbf30d0425 (diff) | |
download | opensbi-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/sifive')
-rw-r--r-- | platform/sifive/fu540/platform.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/sifive/fu540/platform.c b/platform/sifive/fu540/platform.c index 755e479..cdd8293 100644 --- a/platform/sifive/fu540/platform.c +++ b/platform/sifive/fu540/platform.c @@ -154,12 +154,6 @@ static u32 fu540_hart_index2id[FU540_HART_COUNT - 1] = { [3] = 4, }; -static int fu540_system_reset(u32 type) -{ - /* For now nothing to do. */ - return 0; -} - const struct sbi_platform_operations platform_ops = { .final_init = fu540_final_init, .console_putc = sifive_uart_putc, @@ -174,7 +168,6 @@ const struct sbi_platform_operations platform_ops = { .timer_event_stop = clint_timer_event_stop, .timer_event_start = clint_timer_event_start, .timer_init = fu540_timer_init, - .system_reset = fu540_system_reset }; const struct sbi_platform platform = { |