diff options
author | Krystian Hebel <krystian.hebel@3mdeb.com> | 2020-09-30 18:23:14 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-10-27 14:55:51 +0000 |
commit | 93f6b8a8cc7b7cd8580b0d0bc76d7b676bef739e (patch) | |
tree | f1958d658f10c59b927eba167149068e2f0f70e3 /util/lint | |
parent | 2f105ed9ab9b1b3e1dfce1e637443c782e437ce5 (diff) |
src/lib/fmap.c: use le*toh() functions where needed
FMAP was developed with assumption about endianness of the target machine.
This broke the parsing of the structure on big endian architectures. This
patch converts the endianness of the fields where applicable.
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Change-Id: I8784ac29101531db757249496315f43e4008de4f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55038
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util/lint')
0 files changed, 0 insertions, 0 deletions