mediatek: mt8173: apply MULTI_CONSOLE framework
[project/bcm63xx/atf.git] / plat / mediatek / mt8173 / aarch64 / plat_helpers.S
index d5894991db39eecaefc8b2aa8821bc8d0a8904e1..095dfc505c035dbe5e20361b72406ad363b16dd0 100644 (file)
@@ -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
  */
@@ -11,8 +11,6 @@
        .globl  plat_report_exception
        .globl  platform_is_primary_cpu
        .globl  plat_my_core_pos
-       .globl  plat_crash_console_init
-       .globl  plat_crash_console_putc
 
        /* -----------------------------------------------------
         * void plat_secondary_cold_boot_setup (void);
@@ -49,29 +47,3 @@ func plat_my_core_pos
        add     x0, x1, x0, LSR #6
        ret
 endfunc plat_my_core_pos
-
-       /* ---------------------------------------------
-        * int plat_crash_console_init(void)
-        * Function to initialize the crash console
-        * without a C Runtime to print crash report.
-        * Clobber list : x0 - x4
-        * ---------------------------------------------
-        */
-func plat_crash_console_init
-       mov_imm x0, MT8173_UART0_BASE
-       mov_imm x1, MT8173_UART_CLOCK
-       mov_imm x2, MT8173_BAUDRATE
-       b       console_core_init
-endfunc plat_crash_console_init
-
-       /* ---------------------------------------------
-        * int plat_crash_console_putc(void)
-        * Function to print a character on the crash
-        * console without a C Runtime.
-        * Clobber list : x1, x2
-        * ---------------------------------------------
-        */
-func plat_crash_console_putc
-       mov_imm x1, MT8173_UART0_BASE
-       b       console_core_putc
-endfunc plat_crash_console_putc