int f3s_v2unlockall (f3s_dbase_t *dbase,
f3s_access_t *access,
uint32_t flags,
uint32_t text_offset);
This function clears all write-protected blocks on the device containing the address text_offset. Some boards use multiple chips to form one single logical device. In this situation, each chip will have f3s_v2unlockall() invoked on it separately.
On success, it should return EOK. If an error occurs, it should return one of the following: