]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/image.h
tools: imximage: Load a size that is multiple of 512
[karo-tx-uboot.git] / include / image.h
index f54d98330634acb99c56c791d674c3cdb6816c70..3a472c9b7c5075ead834c93ad3b6586620cdaa4a 100644 (file)
 #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).