Skip to contentSkip to conversation

include: spl.h: add return code documentation for spl_load_imx_container

PATCH In review Max Merchel 2 participants 2 messages Nov 20 – Nov 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include: spl.h: add return code documentation for spl_load_imx_container

From: Markus Niebel <[email protected]>

Document the return code to improe readability.

Fixes dd7d0911e004 ("spl: mmc: support loading i.MX container format file")

---
CI: https://dev.azure.com/u-boot/u-boot/_build/results?buildId=13774&view=results
CI has Free disk space warnings: Free disk space on / is lower than 5%; Currently used: 96.02% CI has errors which I consider to be the following.:
e.g.: ,##[error]We stopped hearing from agent Azure Pipelines 2. ...

---
 include/spl.h | 1 +
 1 file changed, 1 insertion(+)
include/spl.h +1 -0
index 390d18fd9d5..3683a08b80c 100644
@@ -572,6 +572,7 @@ int spl_load_legacy_img(struct spl_image_info *spl_image,
  *
  * Reads the container image @sector in the device. Loads u-boot image to
  * specified load address.
+ * Returns 0 on success.
  */
 int spl_load_imx_container(struct spl_image_info *spl_image,
 			   struct spl_load_info *info, ulong offset);

base-commit: e6fa1282975af50acf44be7aa678b89e187f0860

Signature · 1 line
2.53.0