]> git.sur5r.net Git - u-boot/blobdiff - tools/aisimage.c
mkimage: Move ARRAY_SIZE to header file
[u-boot] / tools / aisimage.c
index c645708da5984875113d0cdbf4a73b694c3ca0a2..659df8c0ee7cb611e0fe48c1073146afeb40c502 100644 (file)
@@ -32,7 +32,6 @@
 #define WORD_ALIGN0    4
 #define WORD_ALIGN(len) (((len)+WORD_ALIGN0-1) & ~(WORD_ALIGN0-1))
 #define MAX_CMD_BUFFER 4096
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
 
 static uint32_t ais_img_size;