diff options
| author | Sergi Granell <[email protected]> | 2019-02-19 07:35:06 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-02-19 18:22:58 +0530 |
| commit | db5b25af49d4a2e4940ca9dee1a289b836f36650 (patch) | |
| tree | 6e5261e3635d27102619c39a777eaf4cce2abe55 | |
| parent | 72a8272066f040b95e7eb470c8a1ce55f4cd99c7 (diff) | |
template: Fix some callback names
| -rw-r--r-- | platform/template/platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/template/platform.c b/platform/template/platform.c index 15b4da37..e7a70aa9 100644 --- a/platform/template/platform.c +++ b/platform/template/platform.c @@ -215,7 +215,7 @@ struct sbi_platform platform = { .hart_stack_size = 4096, .disabled_hart_mask = 0, - .early_init = platform_final_init, + .early_init = platform_early_init, .final_init = platform_final_init, .pmp_region_count = platform_pmp_region_count, @@ -236,7 +236,7 @@ struct sbi_platform platform = { .timer_event_start = platform_timer_event_start, .timer_event_stop = platform_timer_event_stop, - .system_reboot = platform_system_down, - .system_shutdown = platform_system_down + .system_reboot = platform_system_reboot, + .system_shutdown = platform_system_shutdown }; |
