diff options
author | Nico Huber <nico.huber@secunet.com> | 2017-01-17 13:01:25 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-01-18 17:43:20 +0100 |
commit | 607796a4ff169f375e63853713cfeef0a89a0b2c (patch) | |
tree | 14d6d0aa02392403b8d124b04816272709337ac9 /src/lib/nhlt.c | |
parent | 404f8ef420421c4587a4b55c705b4a4046cec1aa (diff) |
cbfstool: Don't use le32toh(), it's non-standard
It's a BSD function, also, we missed to include `endian.h`.
Just including `endian.h` doesn't fix the problem for everyone.
Instead of digging deeper, just use our own endian-conversion from
`commonlib`.
Change-Id: Ia781b2258cafb0bcbe8408752a133cd28a888786
Reported-by: Werner Zeh <werner.zeh@siemens.com>
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/18157
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/lib/nhlt.c')
0 files changed, 0 insertions, 0 deletions