From e5d30b78b7720ba3e511819b7fc51c11d642153b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 25 Mar 2010 22:15:19 +0000 Subject: libpayload update * rework Config.in * add string_to_args function to actually make getopt usable. * add strchr * add strlcat * some malloc fixes (exposed by the USB stack) * add malloc debugging (thanks to Matthias Krause from Secunet!) * make LAR support optional, it's not really used anymore * (define htoX macros for ppc) Signed-off-by: Stefan Reinauer Acked-by: Joseph Smith git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5298 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/include/powerpc/arch/endian.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'payloads/libpayload/include/powerpc/arch') diff --git a/payloads/libpayload/include/powerpc/arch/endian.h b/payloads/libpayload/include/powerpc/arch/endian.h index 8ffad70f0b..1b8ff8a808 100644 --- a/payloads/libpayload/include/powerpc/arch/endian.h +++ b/payloads/libpayload/include/powerpc/arch/endian.h @@ -38,4 +38,8 @@ #define ntohll(in) (in) +#define htonw(in) ntohw(in) +#define htonl(in) ntohw(in) +#define htonll(in) ntohll(in) + #endif -- cgit v1.2.3