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:
parent
e79e208579
commit
68e2a28761
|
|
@ -120,7 +120,9 @@ int rk_avb_read_flash_lock_state(uint8_t *flash_lock_state)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
return -1;
|
*flash_lock_state = 1;
|
||||||
|
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue