diff options
| author | Simon Glass <[email protected]> | 2017-08-03 12:22:10 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-08-16 08:23:32 -0400 |
| commit | 018f530323b2cc41be05be5b12375d3648f06554 (patch) | |
| tree | b397b84a059e5b704c20c9097577ada6fc4ba296 /api/api.c | |
| parent | 382bee57f19b4454e2015bc19a010bc2d0ab9337 (diff) | |
env: Rename common functions related to setenv()
We are now using an env_ prefix for environment functions. Rename these
commonly used functions, for consistency. Also add function comments in
common.h.
Suggested-by: Wolfgang Denk <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'api/api.c')
| -rw-r--r-- | api/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c index 6ae9af74b57..23fa1774c3c 100644 --- a/api/api.c +++ b/api/api.c @@ -663,7 +663,7 @@ void api_init(void) return; } - setenv_hex("api_address", (unsigned long)sig); + env_set_hex("api_address", (unsigned long)sig); debugf("API sig @ 0x%lX\n", (unsigned long)sig); memcpy(sig->magic, API_SIG_MAGIC, 8); sig->version = API_SIG_VERSION; |
