From: Igor Prusov <ivprusov@salutedevices.com>
To: <u-boot@lists.denx.de>
Cc: <prusovigor@gmail.com>, Simon Glass <sjg@chromium.org>,
<kernel@sberdevices.ru>, Igor Prusov <ivprusov@salutedevices.com>,
Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>,
Alexander Dahl <ada@thorsis.com>,
Alexey Romanov <avromanov@salutedevices.com>,
Andy Fleming <afleming@gmail.com>,
Balamanikandan Gunasundar
<balamanikandan.gunasundar@microchip.com>,
Bin Meng <bmeng.cn@gmail.com>, Bin Meng <bmeng@tinylab.org>,
Chanho Park <chanho61.park@samsung.com>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Eugen Hristev <eugen.hristev@collabora.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Leo <ycliang@andestech.com>, Marek Vasut <marex@denx.de>,
Mario Six <mario.six@gdsys.cc>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
Max Filippov <jcmvbkbc@gmail.com>,
Michael Trimarchi <michael@amarulasolutions.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Nishanth Menon <nm@ti.com>, Priyanka Jain <priyanka.jain@nxp.com>,
Rick Chen <rick@andestech.com>, Scott McNutt <smcnutt@psyent.com>,
Stefan Roese <sr@denx.de>, Thomas Chou <thomas@wytron.com.tw>,
Wolfgang Denk <wd@denx.de>, <u-boot-amlogic@groups.io>
Subject: [PATCH 00/13] Import "string" I/O functions from Linux
Date: Tue, 14 Nov 2023 14:02:44 +0300 [thread overview]
Message-ID: <20231114110257.2488-1-ivprusov@salutedevices.com> (raw)
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
next reply other threads:[~2023-11-14 11:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 11:02 Igor Prusov [this message]
2023-11-14 11:02 ` [PATCH 11/13] spi: meson_spifc_a1: Switch to io{read,write}32_rep() Igor Prusov
2023-11-14 11:02 ` [PATCH 12/13] treewide: Include linux/io.h instead of asm-generic/io.h Igor Prusov
2023-11-29 1:07 ` [PATCH 00/13] Import "string" I/O functions from Linux Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231114110257.2488-1-ivprusov@salutedevices.com \
--to=ivprusov@salutedevices.com \
--cc=abdellatif.elkhlifi@arm.com \
--cc=ada@thorsis.com \
--cc=afleming@gmail.com \
--cc=avromanov@salutedevices.com \
--cc=balamanikandan.gunasundar@microchip.com \
--cc=bmeng.cn@gmail.com \
--cc=bmeng@tinylab.org \
--cc=chanho61.park@samsung.com \
--cc=christophe.leroy@csgroup.eu \
--cc=daniel.schwierzeck@gmail.com \
--cc=dario.binacchi@amarulasolutions.com \
--cc=eugen.hristev@collabora.com \
--cc=jagan@amarulasolutions.com \
--cc=jcmvbkbc@gmail.com \
--cc=kernel@sberdevices.ru \
--cc=marex@denx.de \
--cc=mario.six@gdsys.cc \
--cc=michael@amarulasolutions.com \
--cc=mkorpershoek@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=nm@ti.com \
--cc=priyanka.jain@nxp.com \
--cc=prusovigor@gmail.com \
--cc=rick@andestech.com \
--cc=sjg@chromium.org \
--cc=smcnutt@psyent.com \
--cc=sr@denx.de \
--cc=thomas@wytron.com.tw \
--cc=u-boot-amlogic@groups.io \
--cc=u-boot@lists.denx.de \
--cc=wd@denx.de \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).