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>
This commit is contained in:
Ye Li 2018-06-05 01:26:39 -07:00
parent cde504077e
commit a7c0fbbf9c
1 changed files with 1 additions and 1 deletions

View File

@ -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;