Julius Werner uploaded patch set #2 to this change.
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>
---
M payloads/libpayload/include/endian.h
D payloads/libpayload/include/swab.h
M src/include/swab.h
3 files changed, 12 insertions(+), 67 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/37343/2
To view, visit change 37343. To unsubscribe, or for help writing mail filters, visit settings.