summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-06-05 01:26:39 -0700
committerYe Li <ye.li@nxp.com>2018-06-13 02:41:07 -0700
commita7c0fbbf9cdbd70f9654b83f8dcf7ed216636c4e (patch)
tree3975be5138aa3ebeef2b2f93aab09e0aabd087c0 /cmd
parentcde504077e1ce94d9ad34ece0f3e882972404297 (diff)
MLK-18588 bootm: fix bootm issue for OPTEE HAB boot
New APIs are used for get the value of environment variable, the old will get build error. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootm.c b/cmd/bootm.c
index fc31920069..5252e61e04 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -132,7 +132,7 @@ int do_bootm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int ret;
ulong zi_start, zi_end;
- tee_addr = getenv_ulong("tee_addr", 16, tee_addr);
+ tee_addr = env_get_ulong("tee_addr", 16, tee_addr);
if (!tee_addr) {
printf("Not valid tee_addr, Please check\n");
return 1;