commit | fa34fbf9a149be9c4ed4d2258477be59057a0ef8 | [log] [tgz] |
---|---|---|
author | Igor Prusov <ivprusov@salutedevices.com> | Tue Nov 14 14:02:54 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Nov 28 16:19:06 2023 -0500 |
tree | 562e88b5bc6070edd4c83b6b3da86a2f874670c3 | |
parent | 02585ad9e56aca03c0250c18864d1da94394c42e [diff] |
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>