Commit 8b7a26d0 authored by Yann Gautier's avatar Yann Gautier
Browse files

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: default avatarYann Gautier <yann.gautier@st.com>
parent cce37d44
...@@ -87,7 +87,6 @@ core_init_fail: ...@@ -87,7 +87,6 @@ core_init_fail:
bx lr bx lr
endfunc console_stm32_core_init endfunc console_stm32_core_init
#if MULTI_CONSOLE_API
.globl console_stm32_register .globl console_stm32_register
/* ------------------------------------------------------- /* -------------------------------------------------------
...@@ -123,16 +122,6 @@ func console_stm32_register ...@@ -123,16 +122,6 @@ func console_stm32_register
register_fail: register_fail:
pop {r4, pc} pop {r4, pc}
endfunc console_stm32_register 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) * int console_core_putc(int c, uintptr_t base_addr)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment