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:
parent
cde504077e
commit
a7c0fbbf9c
|
|
@ -132,7 +132,7 @@ int do_bootm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
int ret;
|
int ret;
|
||||||
ulong zi_start, zi_end;
|
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) {
|
if (!tee_addr) {
|
||||||
printf("Not valid tee_addr, Please check\n");
|
printf("Not valid tee_addr, Please check\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue