diff options
author | Ye Li <ye.li@nxp.com> | 2018-06-05 01:26:39 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-06-13 02:41:07 -0700 |
commit | a7c0fbbf9cdbd70f9654b83f8dcf7ed216636c4e (patch) | |
tree | 3975be5138aa3ebeef2b2f93aab09e0aabd087c0 /cmd/bootm.c | |
parent | cde504077e1ce94d9ad34ece0f3e882972404297 (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/bootm.c')
-rw-r--r-- | cmd/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootm.c b/cmd/bootm.c index fc31920069a..5252e61e04c 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; |