walnux/drivers/serial
chao an c6591c0f49 driver/serial: remove return value of up_putc()
modify the prototype of up_putc(): remove the return value

The architecture code does not care about the return value of up_putc(), so removing it saves two statements:

Before:                                                    After:
de4c: e52de004  push  {lr}    @ (str lr, [sp, #-4]!)    |  de4c: e52de004  push  {lr}    @ (str lr, [sp, #-4]!)
de50: e24dd014  sub sp, sp, #20                         |  de50: e24dd014  sub sp, sp, #20
de54: e58d0004  str r0, [sp, #4]                        |  de54: e58d0004  str r0, [sp, #4]
de58: e30030f8  movw  r3, #248  @ 0xf8                  |  de58: e30030f8  movw  r3, #248  @ 0xf8
de5c: e3423000  movt  r3, #8192 @ 0x2000                |  de5c: e3423000  movt  r3, #8192 @ 0x2000
de60: e58d300c  str r3, [sp, #12]                       |  de60: e58d300c  str r3, [sp, #12]
de64: e59d1004  ldr r1, [sp, #4]                        |  de64: e59d1004  ldr r1, [sp, #4]
de68: e59d000c  ldr r0, [sp, #12]                       |  de68: e59d000c  ldr r0, [sp, #12]
de6c: ebfffe66  bl  d80c <pl011_putc>                   |  de6c: ebfffe66  bl  d80c <pl011_putc>
de70: e59d3004  ldr r3, [sp, #4]                        |  de70: e28dd014  add sp, sp, #20
de74: e1a00003  mov r0, r3                              |  de74: e49df004  pop {pc}    @ (ldr pc, [sp], #4)
de78: e28dd014  add sp, sp, #20                         |
de7c: e49df004  pop {pc}    @ (ldr pc, [sp], #4)        |

Signed-off-by: chao an <anchao@lixiang.com>
2024-10-26 13:21:29 +08:00
..
CMakeLists.txt drivers/serial/CMakeLists.txt: add missing files 2024-10-05 23:40:11 +08:00
Kconfig serial/gdbstub:Adjust serial port gdbstub Kconfig dependencies 2024-10-24 08:45:21 +08:00
Kconfig-16550 drivers/serial: Add 16550_DLF_SIZE option for DesignWare UART. 2024-10-10 02:38:12 +08:00
Kconfig-cmsdk drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
Kconfig-lpuart Add initial support for NXP S32K3 MCU family 2022-07-25 23:47:05 +08:00
Kconfig-pci drivers: add UART 16550 compatible PCI device support 2024-09-15 03:37:58 +08:00
Kconfig-pl011 drivers/serial/uart_pl011.c : add the interface about clock and reset control for reducing power consumption. 2024-06-03 21:18:44 +08:00
Kconfig-sci
Kconfig-uart
Kconfig-usart
Make.defs serial: use hostfs read/write on stdio as uart 2024-09-28 13:53:06 +08:00
ptmx.c pty: use mutex to protect alloc minor 2024-08-25 22:16:53 +08:00
pty.c libc:getline support backspace 2024-10-11 03:11:26 +08:00
pty.h Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
serial.c ICANON mode need echo every bytes 2024-10-11 03:11:26 +08:00
serial_cmsdk.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
serial_dma.c serial: use nxsig_tgkill instead of nxsig_kill 2024-10-12 09:30:37 +08:00
serial_gdbstub.c gdbstub: support the use of recvbuf and sendbuf 2024-10-09 15:41:48 +08:00
serial_io.c serial: use nxsig_tgkill instead of nxsig_kill 2024-10-12 09:30:37 +08:00
uart_16550.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
uart_bth4.c serial: use dev references count make sure the driver only opened once 2024-10-17 18:09:32 +08:00
uart_bth5.c bluetooth:add bth5 with btslip and bth4 2024-10-17 18:09:32 +08:00
uart_hostfs.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
uart_pci_16550.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
uart_pl011.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
uart_ram.c drivers/serial: add ram uart driver 2023-09-19 09:41:07 +08:00
uart_rpmsg.c rpmsg services: should release the tx buffer when rpmsg_send_nocopy failed 2024-10-08 18:26:39 +08:00