test: read window from partition file

Resolves openbmc/openbmc#1440

Change-Id: I8e6ae35e4c5ba2936a578349e6cea464de6ab40d
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/mboxd_pnor_partition_table.h b/mboxd_pnor_partition_table.h
index ec21923..f494830 100644
--- a/mboxd_pnor_partition_table.h
+++ b/mboxd_pnor_partition_table.h
@@ -27,6 +27,18 @@
  */
 void vpnor_create_partition_table(struct mbox_context *context);
 
+/** @brief Create a virtual PNOR partition table.
+ *
+ *  @param[in] context - mbox context pointer
+ *  @param[in] path - location of the partition file
+ *
+ *  This API is same as above one but it reads the partition file from
+ *  from the given location(path).
+ */
+
+void vpnor_create_partition_table_from_path(struct mbox_context *context,
+                                            const char* path);
+
 
 /** @brief Get partition table size, in blocks (1 block = 4KB)
  *