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/mediatek/mt8173 | |
parent | 682c307d2c75ef01a8eedacb4109b4dfe0e614df (diff) | |
download | trusted-firmware-a-2cc97771700aafa5db9a6f8d0b0ea4cb17ffb718.tar.gz |
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/mediatek/mt8173')
-rw-r--r-- | plat/mediatek/mt8173/aarch64/plat_helpers.S | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/plat/mediatek/mt8173/aarch64/plat_helpers.S b/plat/mediatek/mt8173/aarch64/plat_helpers.S index d5894991db..983ebe3da9 100644 --- a/plat/mediatek/mt8173/aarch64/plat_helpers.S +++ b/plat/mediatek/mt8173/aarch64/plat_helpers.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -13,6 +13,7 @@ .globl plat_my_core_pos .globl plat_crash_console_init .globl plat_crash_console_putc + .globl plat_crash_console_flush /* ----------------------------------------------------- * void plat_secondary_cold_boot_setup (void); @@ -75,3 +76,16 @@ func plat_crash_console_putc mov_imm x1, MT8173_UART0_BASE b console_core_putc endfunc plat_crash_console_putc + + /* --------------------------------------------- + * int plat_crash_console_flush(int c) + * Function to force a write of all buffered + * data that hasn't been output. + * Out : return -1 on error else return 0. + * Clobber list : x0, x1 + * --------------------------------------------- + */ +func plat_crash_console_flush + mov_imm x0, MT8173_UART0_BASE + b console_core_flush +endfunc plat_crash_console_flush |