[U-Boot] [PATCH] tools: compiler.h: Fix build on FreeBSD

Tom Rini trini at ti.com
Sat Oct 11 13:49:47 CEST 2014


On Tue, Oct 07, 2014 at 10:42:27PM +0200, Jeroen Hofstee wrote:

> Commit 832472 "tools: socfpga: Add socfpga preloader signing
> to mkimage" added tools/socfpga.c which relies on htole32,
> le32toh and friends. While compiler.h includes these protypes
> for linux from endian.h, it doesn't do so for FreeBSD. Hence
> include <sys/endian.h> for FreeBSD.
> 
> Cc: Marek Vasut <marex at denx.de>
> CC: Tom Rini <trini at ti.com>
> Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141011/dc434e64/attachment.pgp>


More information about the U-Boot mailing list