sf: unify status register writing (and thus block unlocking)