nuttx/arch/arm/src/dm320
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
dm320_ahb.h
dm320_allocateheap.c
dm320_boot.c arch/arm: Disable -Warray-bound for rp2040, dm320 and lpc31xx 2023-12-19 08:36:49 +08:00
dm320_busc.h
dm320_clkc.h
dm320_decodeirq.c arm: g_current_regs is only used to determine if we are in irq, 2024-09-25 08:58:20 +08:00
dm320_emif.h
dm320_framebuffer.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
dm320_gio.h
dm320_intc.h
dm320_irq.c
dm320_lowputc.S
dm320_memorymap.h
dm320_osd.h
dm320_restart.S
dm320_serial.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
dm320_timer.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
dm320_timerisr.c
dm320_uart.h Indent the include statement by two spaces 2023-05-16 12:34:32 -03:00
dm320_usb.h
dm320_usbdev.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
Kconfig
Make.defs arch/arm: Disable -Warray-bound for rp2040, dm320 and lpc31xx 2023-12-19 08:36:49 +08:00