aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2023-03-06 17:18:48 -0600
committerTom Rini <trini@konsulko.com>2023-06-09 13:52:40 -0400
commit1e917a69e51dc27627dd667a70843cb0ac270849 (patch)
treedd7684f5943a17a748d979656a2f5665d5a9b140 /include
parent246ec2a12c437ff821e452104f3f564e5d25fa91 (diff)
downloadu-boot-1e917a69e51dc27627dd667a70843cb0ac270849.zip
u-boot-1e917a69e51dc27627dd667a70843cb0ac270849.tar.gz
u-boot-1e917a69e51dc27627dd667a70843cb0ac270849.tar.bz2
fwu: rename fwu_get_verified_mdata to fwu_get_mdata
fwu_get_mdata() sounds more appropriate than fwu_get_verified_mdata() Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Tested-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/fwu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fwu.h b/include/fwu.h
index 7b600ce0..6affb73 100644
--- a/include/fwu.h
+++ b/include/fwu.h
@@ -80,7 +80,7 @@ int fwu_read_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
int fwu_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
/**
- * fwu_get_verified_mdata() - Read, verify and return the FWU metadata
+ * fwu_get_mdata() - Read, verify and return the FWU metadata
*
* Read both the metadata copies from the storage media, verify their checksum,
* and ascertain that both copies match. If one of the copies has gone bad,
@@ -88,7 +88,7 @@ int fwu_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
*
* Return: 0 if OK, -ve on error
*/
-int fwu_get_verified_mdata(struct fwu_mdata *mdata);
+int fwu_get_mdata(struct fwu_mdata *mdata);
/**
* fwu_get_active_index() - Get active_index from the FWU metadata