diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-02-28 16:16:04 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-04-04 00:31:48 +0930 |
commit | 817d22164f7a2fdef574e572f1513ab5fe162e0a (patch) | |
tree | 984e1f20f347394e0d442aa9a3b85848026361cf /mboxd_pnor_partition_table.h | |
parent | 3af92a4904e19a163e6f1a353cb1bbb71ee63eea (diff) | |
download | phosphor-mboxd-817d22164f7a2fdef574e572f1513ab5fe162e0a.tar.gz phosphor-mboxd-817d22164f7a2fdef574e572f1513ab5fe162e0a.zip |
mboxd_pnor_partition_table: Remove redundant wrapper functions
Change-Id: I5a4d6bb7b019767c19d45e68d4ac01c92c024abe
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'mboxd_pnor_partition_table.h')
-rw-r--r-- | mboxd_pnor_partition_table.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mboxd_pnor_partition_table.h b/mboxd_pnor_partition_table.h index a2b8c36..06934b9 100644 --- a/mboxd_pnor_partition_table.h +++ b/mboxd_pnor_partition_table.h @@ -48,43 +48,6 @@ int init_vpnor(struct mbox_context *context); int vpnor_create_partition_table_from_path(struct mbox_context *context, const char* path); - -/** @brief Get partition table size, in blocks (1 block = 4KB) - * - * @param[in] context - mbox context pointer - * - * @returns partition table size. 0 if no table exists, or if the - * context is NULL. - */ -size_t vpnor_get_partition_table_size(const struct mbox_context *context); - - -/** @brief Get virtual PNOR partition table with host-compatible byte-ordering - * - * @param[in] context - mbox context pointer - * - * @returns pointer to partition table, NULL if partition table doesn't - * exist or if the context is NULL. - */ -const struct pnor_partition_table* vpnor_get_partition_table( - const struct mbox_context *context); - - -/** @brief Get a specific partition, by PNOR offset. The returned - * partition is such that the offset lies in that partition's - * boundary. - * - * @param[in] context - mbox context pointer - * @param[in] offset - PNOR offset - * - * @returns const pointer to pnor_partition, NULL if partition table doesn't - * exist or if the context is NULL - */ -const struct pnor_partition* vpnor_get_partition( - const struct mbox_context *context, - const size_t offset); - - /** @brief Copy bootloader partition (alongwith TOC) to LPC memory * * @param[in] context - mbox context pointer |