protocol: Add create_write_window

Change-Id: Ia1f55488c2aaefbe744305d3ed823e41e48a5934
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/protocol.h b/protocol.h
index 7608b0e..9b5fc09 100644
--- a/protocol.h
+++ b/protocol.h
@@ -49,6 +49,7 @@
 		uint16_t offset;
 		uint16_t size;
 		uint8_t id;
+		bool ro;
 	} req;
 	struct {
 		uint16_t lpc_address;
@@ -63,8 +64,8 @@
 			struct protocol_get_info *io);
 	int (*get_flash_info)(struct mbox_context *context,
 			      struct protocol_get_flash_info *io);
-	int (*create_read_window)(struct mbox_context *context,
-				  struct protocol_create_window *io);
+	int (*create_window)(struct mbox_context *context,
+			     struct protocol_create_window *io);
 };
 
 int protocol_init(struct mbox_context *context);
@@ -78,15 +79,15 @@
 			 struct protocol_get_info *io);
 int protocol_v1_get_flash_info(struct mbox_context *context,
 			       struct protocol_get_flash_info *io);
-int protocol_v1_create_read_window(struct mbox_context *context,
-				   struct protocol_create_window *io);
+int protocol_v1_create_window(struct mbox_context *context,
+			      struct protocol_create_window *io);
 
 /* Protocol v2 */
 int protocol_v2_get_info(struct mbox_context *context,
 			 struct protocol_get_info *io);
 int protocol_v2_get_flash_info(struct mbox_context *context,
 			       struct protocol_get_flash_info *io);
-int protocol_v2_create_read_window(struct mbox_context *context,
-				   struct protocol_create_window *io);
+int protocol_v2_create_window(struct mbox_context *context,
+			      struct protocol_create_window *io);
 
 #endif /* PROTOCOL_H */