mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
tools: kwbimage.h: use linux/compiler_attributes.h
The attribute __packed was defined in the file tools/kwbimage.h but this attribute is already defined in linux/compiler_attributes.h. So we include <linux/compiler_attributes.h.h> and do not define __packed. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:
parent
c06705a9a1
commit
eec32a35d7
1 changed files with 1 additions and 5 deletions
|
@ -11,11 +11,7 @@
|
|||
#include <compiler.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define __packed __attribute((packed))
|
||||
#else
|
||||
#define __packed
|
||||
#endif
|
||||
#include <linux/compiler_attributes.h>
|
||||
|
||||
#define KWBIMAGE_MAX_CONFIG ((0x1dc - 0x20)/sizeof(struct reg_config))
|
||||
#define MAX_TEMPBUF_LEN 32
|
||||
|
|
Loading…
Add table
Reference in a new issue