]> git.dujemihanovic.xyz Git - u-boot.git/commit
asm-generic: Import functions from Linux
authorIgor Prusov <ivprusov@salutedevices.com>
Tue, 14 Nov 2023 11:02:54 +0000 (14:02 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 28 Nov 2023 21:19:06 +0000 (16:19 -0500)
commitfa34fbf9a149be9c4ed4d2258477be59057a0ef8
tree562e88b5bc6070edd4c83b6b3da86a2f874670c3
parent02585ad9e56aca03c0250c18864d1da94394c42e
asm-generic: Import functions from Linux

Currently {read,write}s{b,w,lq}() functions are available only on some
architectures, and there are no io{read,write}{8,16,32,64}_rep()
functions in u-boot. This patch adds generic versions that may be used
without arch-specific implementation.

Since some of added functions were already added locally in some files,
remove them to avoid redeclaration errors.

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
drivers/mtd/nand/raw/atmel/nand-controller.c
drivers/mtd/nand/raw/nand_base.c
include/asm-generic/io.h