summaryrefslogtreecommitdiff
path: root/src/cpu/dmp/Kconfig
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-02-03 12:50:03 -0800
committerMartin Roth <martinroth@google.com>2017-04-14 16:33:27 +0200
commit127a79e0b6cc4d25560446efcccca8a8da15a9b4 (patch)
treed3c8cd8e6eb22c7abeee5314a20c77ecaf5555bf /src/cpu/dmp/Kconfig
parent973104ba1f3e27eb835b7e02e8e9e6c16704d702 (diff)
cbmem: Add custom aligned memcpy() implementation
On some architectures (like AArch64), /dev/mem mappings outside of the area marked as normal RAM use a memory type that does not support unaligned accesses. The libc memcpy() implementation on these architectures may not know or expect that and make an unaligned access for certain source/dest/length alignments. Add a custom memcpy() implementation that takes these restrictions into account and use it anywhere we copy straight out of /dev/mem memory. Change-Id: I03eece380a14a69d4be3805ed72fba640f6f7d9c Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/18300 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu/dmp/Kconfig')
0 files changed, 0 insertions, 0 deletions