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/fpga | |
parent | c4acc60a4694a45ac154948efa300adbf30d0425 (diff) | |
download | opensbi-da074796df871f6323d052f123b7668d390980dc.zip opensbi-da074796df871f6323d052f123b7668d390980dc.tar.gz opensbi-da074796df871f6323d052f123b7668d390980dc.tar.bz2 |
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/fpga')
-rw-r--r-- | platform/fpga/ariane/platform.c | 11 | ||||
-rw-r--r-- | platform/fpga/openpiton/platform.c | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/platform/fpga/ariane/platform.c b/platform/fpga/ariane/platform.c index a4d437e..ea179e5 100644 --- a/platform/fpga/ariane/platform.c +++ b/platform/fpga/ariane/platform.c @@ -148,16 +148,6 @@ static int ariane_timer_init(bool cold_boot) } /* - * Reset the ariane. - */ -static int ariane_system_reset(u32 type) -{ - /* For now nothing to do. */ - sbi_printf("System reset\n"); - return 0; -} - -/* * Platform descriptor. */ const struct sbi_platform_operations platform_ops = { @@ -174,7 +164,6 @@ const struct sbi_platform_operations platform_ops = { .timer_value = clint_timer_value, .timer_event_start = clint_timer_event_start, .timer_event_stop = clint_timer_event_stop, - .system_reset = ariane_system_reset }; const struct sbi_platform platform = { diff --git a/platform/fpga/openpiton/platform.c b/platform/fpga/openpiton/platform.c index 095004d..5eae477 100644 --- a/platform/fpga/openpiton/platform.c +++ b/platform/fpga/openpiton/platform.c @@ -174,16 +174,6 @@ static int openpiton_timer_init(bool cold_boot) } /* - * Reset the openpiton. - */ -static int openpiton_system_reset(u32 type) -{ - /* For now nothing to do. */ - sbi_printf("System reset\n"); - return 0; -} - -/* * Platform descriptor. */ const struct sbi_platform_operations platform_ops = { @@ -200,7 +190,6 @@ const struct sbi_platform_operations platform_ops = { .timer_value = clint_timer_value, .timer_event_start = clint_timer_event_start, .timer_event_stop = clint_timer_event_stop, - .system_reset = openpiton_system_reset }; const struct sbi_platform platform = { |