MIPS: convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig
[platform/kernel/u-boot.git] / include / image-sparse.h
index f39dc16..0572dbd 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
+#include <compiler.h>
 #include <part.h>
 #include <sparse_format.h>
 
@@ -23,7 +24,7 @@ struct sparse_storage {
                                 lbaint_t blk,
                                 lbaint_t blkcnt);
 
-       void            (*mssg)(const char *str);
+       void            (*mssg)(const char *str, char *response);
 };
 
 static inline int is_sparse_image(void *buf)
@@ -38,4 +39,4 @@ static inline int is_sparse_image(void *buf)
 }
 
 int write_sparse_image(struct sparse_storage *info, const char *part_name,
-                      void *data);
+                      void *data, char *response);