nuttx/arch/arm/src/str71x
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
..
chip.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
Kconfig Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER 2016-05-25 10:45:01 -06:00
Make.defs arch/arm/Make.defs: unify arch common source include 2022-04-30 21:50:16 +08:00
str71x.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
str71x_adc12.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_apb.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_bspi.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_can.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_decodeirq.c arm: g_current_regs is only used to determine if we are in irq, 2024-09-25 08:58:20 +08:00
str71x_eic.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_emi.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_flash.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_gpio.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_head.S arm/armv7-a/r: set the default CPU mode to System 2022-03-14 19:54:53 +09:00
str71x_i2c.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_irq.c arch: move non arm g_current_regs defintion to common place 2022-09-21 22:23:11 +02:00
str71x_lowputc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
str71x_map.h fix nxstyle 2024-05-03 14:15:56 -03:00
str71x_pcu.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_prccu.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
str71x_rccu.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_rtc.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_serial.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
str71x_timer.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_timerisr.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
str71x_uart.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_usb.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_wdog.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00
str71x_xti.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
str71x_xti.h arch: arm: str71x: fix nxstyle errors 2021-03-24 23:58:46 -07:00