lib: avb: return flash unlock status

Return flash unlock status when close CONFIG_OPTEE_CLIENT.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I7a7a03b8305c864d83d3d2c14b0f9aa104b2ef59
This commit is contained in:
Jason Zhu 2020-12-15 11:56:07 +08:00 committed by Jianhong Chen
parent e79e208579
commit 68e2a28761
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ int rk_avb_read_flash_lock_state(uint8_t *flash_lock_state)
return ret;
#else
return -1;
*flash_lock_state = 1;
return 0;
#endif
}