]> git.sur5r.net Git - u-boot/blobdiff - include/image.h
[new uImage] Fix uImage header pointer use in i386 do_bootm_linux()
[u-boot] / include / image.h
index c9f42980e8b2da9e8b963f5a516d3538bdafa9dc..aab3f44ccbfb0c97859227368abd7784411dd841 100644 (file)
@@ -164,6 +164,13 @@ typedef struct image_header {
        uint8_t         ih_name[IH_NMLEN];      /* Image Name           */
 } image_header_t;
 
+/*
+ * Some systems (for example LWMON) have very short watchdog periods;
+ * we must make sure to split long operations like memmove() or
+ * crc32() into reasonable chunks.
+ */
+#define CHUNKSZ (64 * 1024)
+
 #define image_to_cpu(x)                ntohl(x)
 #define cpu_to_image(x)                htonl(x)