dm: sf: Save flash flags to struct spi_flash