commit | 4f68b770608244b103db312fac91a48f9b4fe068 | [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 | 3433f5379d8fd3f185e20a519329907caf11ed32 [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>