configs: net: dm9000: Move new Kconfig option to board configs
[platform/kernel/u-boot.git] / include / image-sparse.h
index 72f4036..0572dbd 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
+#include <compiler.h>
 #include <part.h>
 #include <sparse_format.h>
 
@@ -22,6 +23,8 @@ struct sparse_storage {
        lbaint_t        (*reserve)(struct sparse_storage *info,
                                 lbaint_t blk,
                                 lbaint_t blkcnt);
+
+       void            (*mssg)(const char *str, char *response);
 };
 
 static inline int is_sparse_image(void *buf)
@@ -35,5 +38,5 @@ static inline int is_sparse_image(void *buf)
        return 0;
 }
 
-void write_sparse_image(struct sparse_storage *info, const char *part_name,
-                       void *data);
+int write_sparse_image(struct sparse_storage *info, const char *part_name,
+                      void *data, char *response);