diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-03-27 13:48:15 +0000 |
---|---|---|
committer | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-04-03 14:55:18 +0100 |
commit | 2cc97771700aafa5db9a6f8d0b0ea4cb17ffb718 (patch) | |
tree | 30ca4fb3be8a6ad6b09032b5f949fc8225d00b08 /plat/common | |
parent | 682c307d2c75ef01a8eedacb4109b4dfe0e614df (diff) |
Remove deprecated plat_crash_console_*
The default implementations are defined in crash_console_helpers.S. The
platforms have to define plat_crash_console_*.
Implemented placeholders for platforms that were missing helpers.
Change-Id: Iea60b6f851956916e421dfd8c34a62d96eb9148e
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Diffstat (limited to 'plat/common')
-rw-r--r-- | plat/common/aarch32/platform_helpers.S | 38 | ||||
-rw-r--r-- | plat/common/aarch64/platform_helpers.S | 20 |
2 files changed, 1 insertions, 57 deletions
diff --git a/plat/common/aarch32/platform_helpers.S b/plat/common/aarch32/platform_helpers.S index e1e2a6f5..5b9cb591 100644 --- a/plat/common/aarch32/platform_helpers.S +++ b/plat/common/aarch32/platform_helpers.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -8,11 +8,6 @@ #include <asm_macros.S> .weak plat_report_exception -#if !ERROR_DEPRECATED - .weak plat_crash_console_init - .weak plat_crash_console_putc - .weak plat_crash_console_flush -#endif .weak plat_reset_handler .weak plat_disable_acp .weak bl1_plat_prepare_exit @@ -28,37 +23,6 @@ func plat_report_exception bx lr endfunc plat_report_exception -#if !ERROR_DEPRECATED - /* ----------------------------------------------------- - * Placeholder function which should be redefined by - * each platform. - * ----------------------------------------------------- - */ -func plat_crash_console_init - mov r0, #0 - bx lr -endfunc plat_crash_console_init - - /* ----------------------------------------------------- - * Placeholder function which should be redefined by - * each platform. - * ----------------------------------------------------- - */ -func plat_crash_console_putc - bx lr -endfunc plat_crash_console_putc - - /* ----------------------------------------------------- - * Placeholder function which should be redefined by - * each platform. - * ----------------------------------------------------- - */ -func plat_crash_console_flush - mov r0, #0 - bx lr -endfunc plat_crash_console_flush -#endif - /* ----------------------------------------------------- * Placeholder function which should be redefined by * each platform. diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S index b8fd3a2c..bc650c96 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -10,11 +10,6 @@ #include <platform_def.h> .weak plat_report_exception -#if !ERROR_DEPRECATED - .weak plat_crash_console_init - .weak plat_crash_console_putc - .weak plat_crash_console_flush -#endif .weak plat_reset_handler .weak plat_disable_acp .weak bl1_plat_prepare_exit @@ -37,21 +32,6 @@ func plat_report_exception ret endfunc plat_report_exception -#if !ERROR_DEPRECATED -func plat_crash_console_init - mov x0, #0 - ret -endfunc plat_crash_console_init - -func plat_crash_console_putc - ret -endfunc plat_crash_console_putc - -func plat_crash_console_flush - ret -endfunc plat_crash_console_flush -#endif /* ERROR_DEPRECATED */ - /* ----------------------------------------------------- * Placeholder function which should be redefined by * each platform. This function should preserve x19 - x29. |