spiflash_sector
STATIC int spiflash_sector(spiflash_handle_t, struct buf *);
sector = spiflash_sector(sc, bp);
if (spiflash_sector(sc, bp) != sector)