[PATCH 00/13] Import "string" I/O functions from Linux

Igor Prusov ivprusov at salutedevices.com
Tue Nov 14 12:02:44 CET 2023


This series imports generic versions of ioread_rep/iowrite_rep and
reads/writes from Linux. Some cleanup is done to make sure that all
platforms have proper defines for implemented functions and there are no
redefinitions.


Igor Prusov (13):
  sandbox: move asm-generic include to the end of file
  x86: Add defines for ins/outs functions
  mips: io.h: Add const to reads functions params
  mips: io.h: Add defines for read/write/in/out functions
  riscv: io.h: Add defines for reads/writes functions
  riscv: io.h: Fix signatures of reads/writes functions
  nios2: io.h: Add defines for ins/outs functions
  powerpc: io.h: Add defines for __raw_{read,write} functions
  xtensa: io.h: Add defines for ins/outs functions
  asm-generic: Import functions from Linux
  spi: meson_spifc_a1: Switch to io{read,write}32_rep()
  treewide: Include linux/io.h instead of asm-generic/io.h
  musb-new: Remove implementation of io.h functions

 arch/mips/include/asm/io.h                   |  35 +-
 arch/nios2/include/asm/io.h                  |   6 +
 arch/powerpc/include/asm/io.h                |  11 +
 arch/riscv/include/asm/io.h                  |  26 +-
 arch/sandbox/include/asm/io.h                |  28 +-
 arch/x86/include/asm/io.h                    |   6 +
 arch/xtensa/include/asm/io.h                 |   6 +
 drivers/mtd/nand/raw/atmel/nand-controller.c |  34 --
 drivers/mtd/nand/raw/nand_base.c             |  33 --
 drivers/spi/cadence_qspi.c                   |   2 +-
 drivers/spi/meson_spifc_a1.c                 |   4 +-
 drivers/usb/cdns3/cdns3-ti.c                 |   1 -
 drivers/usb/dwc3/dwc3-meson-g12a.c           |   2 +-
 drivers/usb/dwc3/dwc3-meson-gxl.c            |   2 +-
 drivers/usb/musb-new/musb_io.h               |  24 --
 include/asm-generic/io.h                     | 348 +++++++++++++++++++
 16 files changed, 450 insertions(+), 118 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list