summaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-01-04 08:50:24 -0500
committerTom Rini <[email protected]>2023-01-04 08:50:24 -0500
commit8d6cbf5e6bc4e10e38b954763fa025caed517cc2 (patch)
treeb4897b417188cf4df17a2ce7b39e71cedf18a54a /include/env.h
parent582e3c9fb2337c2f49faa73ac86dde25f4d56901 (diff)
parent60bba6e2052c281afe401247e10aebcb4c17049b (diff)
Merge tag 'efi-2023-01-rc5-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-01-rc5-3 Documentation: * Describe building documentation UEFI: * Add .data section to aarch64 EFI binaries and correct section flags * Correct sorting of capsules when updating * Populate console handles in system table Other: * Fix description of eth_env_[gs]et_enetaddr() return value * Avoid endless loop in sound play command
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/env.h b/include/env.h
index 60acb5454ec..1480efa59e3 100644
--- a/include/env.h
+++ b/include/env.h
@@ -226,7 +226,7 @@ int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf,
*
* @name: Environment variable to get (e.g. "ethaddr")
* @enetaddr: Place to put MAC address (6 bytes)
- * Return: 0 if OK, 1 on error
+ * Return: 1 if OK, 0 on error
*/
int eth_env_get_enetaddr(const char *name, uint8_t *enetaddr);
@@ -235,7 +235,7 @@ int eth_env_get_enetaddr(const char *name, uint8_t *enetaddr);
*
* @name: Environment variable to set (e.g. "ethaddr")
* @enetaddr: Pointer to MAC address to put into the variable (6 bytes)
- * Return: 0 if OK, 1 on error
+ * Return: 0 if OK, non-zero otherwise
*/
int eth_env_set_enetaddr(const char *name, const uint8_t *enetaddr);