[PATCH v2 06/18] serial: Update NS16550_t and struct NS16550
Simon Glass
sjg at chromium.org
Mon Dec 28 17:26:04 CET 2020
Typedefs should not be used in U-Boot and structs should be lower case.
Update the code to use struct ns16550 consistently.
Put a header guard on the file while we are here.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
(no changes since v1)
arch/arm/mach-davinci/da850_lowlevel.c | 4 +-
arch/arm/mach-davinci/spl.c | 4 +-
arch/arm/mach-keystone/init.c | 2 +-
arch/x86/cpu/apollolake/uart.c | 2 +-
arch/x86/cpu/slimbootloader/serial.c | 2 +-
board/Arcturus/ucp1020/spl.c | 2 +-
board/Arcturus/ucp1020/spl_minimal.c | 6 +--
board/Synology/ds109/ds109.c | 8 ++--
board/freescale/mpc8313erdb/mpc8313erdb.c | 6 +--
board/freescale/mpc8315erdb/mpc8315erdb.c | 6 +--
board/freescale/p1010rdb/spl.c | 2 +-
board/freescale/p1010rdb/spl_minimal.c | 8 ++--
board/freescale/p1_p2_rdb_pc/spl.c | 2 +-
board/freescale/p1_p2_rdb_pc/spl_minimal.c | 8 ++--
board/freescale/t102xrdb/spl.c | 2 +-
board/freescale/t104xrdb/spl.c | 2 +-
board/freescale/t208xqds/spl.c | 2 +-
board/freescale/t208xrdb/spl.c | 2 +-
board/freescale/t4rdb/spl.c | 2 +-
drivers/serial/ns16550.c | 44 +++++++++++-----------
drivers/serial/serial_coreboot.c | 2 +-
drivers/serial/serial_intel_mid.c | 2 +-
drivers/serial/serial_ns16550.c | 14 +++----
drivers/serial/serial_omap.c | 6 +--
drivers/serial/serial_rockchip.c | 4 +-
include/ns16550.h | 21 ++++++-----
lib/efi/efi_stub.c | 2 +-
27 files changed, 85 insertions(+), 82 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list