diff options
author | Nico Huber <nico.h@gmx.de> | 2019-06-07 17:47:40 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-14 16:02:45 +0000 |
commit | ee13d0c8fa365455002b109ded7f94f990be8347 (patch) | |
tree | c2e9fc62f57b32ce0347a16646562db67528d2fb /linux_spi.c | |
parent | 911b8d8bc425ad1e519013e68799c494bf60ca4f (diff) | |
download | flashrom-ee13d0c8fa365455002b109ded7f94f990be8347.tar.gz flashrom-ee13d0c8fa365455002b109ded7f94f990be8347.tar.bz2 flashrom-ee13d0c8fa365455002b109ded7f94f990be8347.zip |
libflashrom: Add CPP guard to fix big-endian builds
Calm a compiler warning on big-endian builds about the unused static
flashrom_layout_parse_fmap(). The guard is ugly but gets the job done.
We should forbid endian-specific code in the future, I guess.
Change-Id: Id3f4a57e027f88cc469ed50312adddcc8af71a63
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33306
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'linux_spi.c')
0 files changed, 0 insertions, 0 deletions