diff options
author | Julius Werner <jwerner@chromium.org> | 2019-11-28 12:53:43 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-06 15:08:50 +0000 |
commit | 879ea7fce8a21359ad80e4008c41587b3e1769ae (patch) | |
tree | 5c3ee9fc5d6d8e72aa164aeff1efc365e6de6ba5 /Documentation/payloads.md | |
parent | 6fdf122fc391a894ae8ea340c58ef351be3dd5f1 (diff) | |
download | coreboot-879ea7fce8a21359ad80e4008c41587b3e1769ae.tar.xz |
endian: Replace explicit byte swapping with compiler builtin
gcc seems to have some stupid problem with deciding when to inline byte
swapping functions (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92716).
Using the compiler builtin instead seems to solve the problem.
(This doesn't yet solve the issue for the read_be32()-family of
functions, which we should maybe just get rid of at some point?)
Change-Id: Ia2a6d8ea98987266ccc32ffaa0a7f78965fca1cd
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37343
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'Documentation/payloads.md')
0 files changed, 0 insertions, 0 deletions