walnux/drivers
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
..
1wire nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
aie nuttx ai driver update 2024-10-17 22:35:40 +08:00
analog Fix Kconfig style 2024-10-22 23:20:46 +08:00
audio audio: update audio null driver 2024-10-07 13:33:34 +08:00
bch drivers/bch: ioctl() - BIOC_FLUSH: Add calling ioctl() of block driver 2024-09-27 00:12:43 +08:00
can Fix Kconfig style 2024-10-22 23:20:46 +08:00
clk MacOs: fix the sim compile warning in MacOS 2024-10-22 08:55:57 +08:00
contactless nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
coresight drivers/coresight:Add TRFCR_EL1 initialization 2024-10-09 08:37:48 +08:00
crypto nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
devicetree pci: fix compile failed, fdt_get_reg_base() need 3 args 2024-10-09 02:18:49 +08:00
dma Nuttx/dma: add dma framework for nuttx 2023-04-22 01:02:51 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
eeprom nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
efuse nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
i2c driver: Post sempahore only when it's value is smaller than one 2024-10-13 02:12:01 +08:00
i2s nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
i3c drivers/i3c: avoid return error when i3c_master_register without i3c/i2c device 2024-09-24 23:36:50 +08:00
input cmake: add newly added sources to cmake 2024-10-14 17:19:45 +08:00
ioexpander nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
ipcc driver: Post sempahore only when it's value is smaller than one 2024-10-13 02:12:01 +08:00
lcd lcd/st7735: add option to invert display color 2024-10-02 20:52:55 +08:00
leds drivers/leds/ws2812: Fix WS2812 pixel size 2023-12-24 16:38:06 -08:00
loop enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
math math/mpi: add mpi driver in math 2023-10-17 13:43:43 +08:00
misc drivers/misc/devmem: add dev_mem.c into cmake build 2024-10-18 21:32:48 +08:00
mmcsd mmcsd: SDIO_CAPS_4BIT_ONLY set buswidth MMCSD_SCR_BUSWIDTH_4BIT 2024-10-24 18:06:22 +08:00
modem drivers/modem/alt1250: Fix issue where the program would get stuck 2024-09-24 20:00:21 +08:00
motor Fix allocated memory test 2024-06-28 09:30:42 +02:00
mtd mtd/nvs: Trigger recovery process in nvs_startup 2024-10-13 03:10:19 +08:00
net e1000: add polling mode support for tx/rx 2024-10-08 13:15:31 +02:00
note drivers/note:add the poll function for noteram 2024-10-13 14:05:50 +08:00
pci Fix make warn as error in pci drivers 2024-10-21 15:35:39 +08:00
pinctrl driver/pinctl: add pinctrl framework 2024-09-17 02:25:47 +08:00
pipes circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
power cmake: add newly added sources to cmake 2024-10-14 17:19:45 +08:00
rc circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
regmap drivers/regmap: add exit function interface. 2024-08-27 21:43:58 +08:00
reset nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
rf build: add initial cmake build system 2023-07-08 13:50:48 +08:00
rmt circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
rpmsg container_of: fix compile failed cause of list.h not support container_of 2024-10-23 20:10:43 +08:00
rptun container_of: fix compile failed cause of list.h not support container_of 2024-10-23 20:10:43 +08:00
segger drivers/segger: inline note_sysview_get_timestamp 2024-10-14 17:03:57 +02:00
sensors bmi160: fix Parameter passing error when use spi 2024-10-18 19:58:22 +08:00
serial driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
spi spi_slave: keep consistent with the parameter of the spi_slave_receive function declaration 2024-09-13 12:27:31 +08:00
syslog driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
thermal cmake:add driver thermal CMake scripts 2024-10-13 02:25:06 +08:00
timers drivers/timers/arch_alarm.c: Remove ndelay_accurate 2024-10-23 14:28:18 +08:00
usbdev Fix cdcncm printf formatter compiler warning 2024-10-25 00:52:29 +08:00
usbhost nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmisc nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmonitor nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usrsock nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
vhost virtio devices: update virtqueue operate buffer add lock API 2024-10-06 08:37:53 +08:00
video circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
virtio driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
wireless bluetooth: fix bt missing header files nuttx/wqueue.h 2024-10-23 20:10:43 +08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
drivers_initialize.c drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00
Kconfig AI engine driver 2024-10-16 13:57:23 +08:00
Makefile AI engine driver 2024-10-16 13:57:23 +08:00