spiflash_nsectors
STATIC int spiflash_nsectors(spiflash_handle_t, struct buf *);
len = spiflash_nsectors(sc, bp) * sc->sc_erase_size;