projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
api: Export API structure address as an environment variable
[oweals/u-boot.git]
/
api
/
api.c
diff --git
a/api/api.c
b/api/api.c
index c5f6edb83f812f7f3df98915c65d0feea4bf2ee1..6b114f077f649c27ddd066383ee5fd6a94dd148d 100644
(file)
--- a/
api/api.c
+++ b/
api/api.c
@@
-661,6
+661,7
@@
void api_init(void)
return;
}
+ setenv_hex("api_address", (unsigned long)sig);
debugf("API sig @ 0x%08x\n", sig);
memcpy(sig->magic, API_SIG_MAGIC, 8);
sig->version = API_SIG_VERSION;