diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index f54d983306..3a472c9b7c 100644 --- a/include/image.h +++ b/include/image.h @@ -179,6 +179,9 @@ #define IH_MAGIC 0x27051956 /* Image Magic Number */ #define IH_NMLEN 32 /* Image Name Length */ +/* Reused from common.h */ +#define ROUND(a, b) (((a) + (b) - 1) & ~((b) - 1)) + /* * Legacy format image header, * all data in network byte order (aka natural aka bigendian). |