diff options
author | Yidi Lin <yidilin@chromium.org> | 2022-09-15 15:47:59 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2022-09-18 03:24:16 +0000 |
commit | 0811a6492d2b8fc9cd03392b54eb8978f0450340 (patch) | |
tree | 4292db0509069e43b277dcf24bf99ce7a0e05fbb /configs | |
parent | f0d5f67e46cac62f485805626ca4a7c4dd622a08 (diff) |
cbmem: use aligned_memcpy for reading lb_cbmem_entry information
The lbtable contains the memory entries that have fields unnaturally
aligned in memory. Therefore, we need to perform an aligned_memcpy() to
fix the issues with platforms that don't allow unaligned accesses.
BUG=b:246887035
TEST=cbmem -l; cbmem -r ${CBMEM ID}
Change-Id: Id94e3d65118083a081fc060a6938836f6176ab54
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67672
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions