mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
drivers: st: uart: remove old API
Now that MULTI_CONSOLE_API is enabled for the STM32MP1 platform, we can remove the non MULTI_CONSOLE_API parts in the driver. Signed-off-by: Yann Gautier <yann.gautier@st.com>
This commit is contained in:
parent
cce37d44a9
commit
8b7a26d0d6
1 changed files with 0 additions and 11 deletions
|
@ -87,7 +87,6 @@ core_init_fail:
|
|||
bx lr
|
||||
endfunc console_stm32_core_init
|
||||
|
||||
#if MULTI_CONSOLE_API
|
||||
.globl console_stm32_register
|
||||
|
||||
/* -------------------------------------------------------
|
||||
|
@ -123,16 +122,6 @@ func console_stm32_register
|
|||
register_fail:
|
||||
pop {r4, pc}
|
||||
endfunc console_stm32_register
|
||||
#else
|
||||
.globl console_core_init
|
||||
.globl console_core_putc
|
||||
.globl console_core_getc
|
||||
.globl console_core_flush
|
||||
.equ console_core_init, console_stm32_core_init
|
||||
.equ console_core_putc, console_stm32_core_putc
|
||||
.equ console_core_getc, console_stm32_core_getc
|
||||
.equ console_core_flush, console_stm32_core_flush
|
||||
#endif
|
||||
|
||||
/* ---------------------------------------------------------------
|
||||
* int console_core_putc(int c, uintptr_t base_addr)
|
||||
|
|
Loading…
Add table
Reference in a new issue