1. A method, comprising: in a first cycle, performing a bulk erase operation in a memory array; in a second cycle, performing a soft bulk programming operation in the memory array; and in a third cycle, selectively inhibiting one or more memory cells in the memory array while applying a programming voltage to the memory array.