diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2019-10-12 16:29:34 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-07 18:01:12 -0500 |
commit | 37e66ba916cf2b911ca03479f3cdcccc9f7932a1 (patch) | |
tree | 3f41ee0ffb3d5e2b3be1e3469a030a9e1a4e3e15 /common/cros_ec.c | |
parent | 036218a67130343a71ea34aeae1231bc11f040c2 (diff) |
arm64: Add memcpy_{from, to}io() and memset_io() helpers
Provide optimized memcpy_{from,to}io() and memset_io(). This is required
when moving large amount of data to and from IO regions such as IP
registers or accessing memory mapped flashes.
Code is borrowed from Linux Kernel v5.4.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'common/cros_ec.c')
0 files changed, 0 insertions, 0 deletions