Maybe whether to call spi_write_enable in spi_xxx_erase should be flash bus specific.
Yes or we can ignore the pre op in ich code. Because then another command will be find in the table (assuming that it will always need a pre-op - is this true?)
The WREN pre op is defined in JEDEC somewhere to be atomic? Any pointers to docs?
Thanks, Rudolf