Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 79117e99 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

soc: qcom: peripheral-loader: use memset_io() for zeroing device memory



The ARM64's memset() doesn't guarantee pointer aligned write always even
if destination address and size are aligned.  Use memset_io() for ARM64
to avoid potential alignment fault.
ARM32 version of memset() is known as it guarantees pointer aligned writes
always.  Keep memset() for better performance for ARM32.

Change-Id: I504fb2ecf5c87c85b05692c3315afcb51c03c5e0
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent e7b447e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment