X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2Ftpm.c;h=d9b433582c1a4cad5dfb401b230e6861fed6256d;hb=3703526f1e0a572b1e8e61dea039348b0f260ae1;hp=0c4bc73ca6455d62d47b046c32401a3204e4e58a;hpb=3d1df0e363ff13b7aed17f9bb576d045f26c3f74;p=u-boot diff --git a/cmd/tpm.c b/cmd/tpm.c index 0c4bc73ca6..d9b433582c 100644 --- a/cmd/tpm.c +++ b/cmd/tpm.c @@ -231,7 +231,7 @@ static int type_string_write_vars(const char *type_str, uint8_t *data, default: return -1; } - if (setenv_ulong(*vars, value)) + if (env_set_ulong(*vars, value)) return -1; } @@ -624,7 +624,7 @@ static int do_tpm_load_key_by_sha1(cmd_tbl_t *cmdtp, int flag, int argc, char * &key_handle); if (!err) { printf("Key handle is 0x%x\n", key_handle); - setenv_hex("key_handle", key_handle); + env_set_hex("key_handle", key_handle); } return report_return_code(err);