From: Philippe Reynes Date: Thu, 19 Dec 2024 13:05:47 +0000 (+0100) Subject: tools: renesas_spkgimage.h: use linux/compiler_attributes.h X-Git-Tag: v2025.04-rc1~46^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f88ccd32b5e566104c9e65f1c576125895214f10;p=pandora-u-boot.git tools: renesas_spkgimage.h: use linux/compiler_attributes.h The attribute __packed was defined in the file tools/renesas_spkgimage.h but this attribute is already defined in linux/compiler_attributes.h. So we include and do not define __packed. Signed-off-by: Philippe Reynes --- diff --git a/tools/renesas_spkgimage.h b/tools/renesas_spkgimage.h index 367e113de9d..83ec567b0d4 100644 --- a/tools/renesas_spkgimage.h +++ b/tools/renesas_spkgimage.h @@ -11,11 +11,7 @@ #ifndef _SPKGIMAGE_H_ #define _SPKGIMAGE_H_ -#ifdef __GNUC__ -#define __packed __attribute((packed)) -#else -#define __packed -#endif +#include #define SPKG_HEADER_MARKER {'R', 'Z', 'N', '1'} #define SPKG_HEADER_SIZE 24