X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fspi.h;h=51fdfd6d7360d9c601ffce37fb3c83bc86c3a127;hb=68c20fbb3338f0601d996ce1f9f73868e5dc50ce;hp=18362364cf0ea639e55b275a2b229e66dc1fda9a;hpb=4dd1f6787552abab25392e4976499d32d92e48d7;p=karo-tx-uboot.git diff --git a/include/spi.h b/include/spi.h index 18362364cf..51fdfd6d73 100644 --- a/include/spi.h +++ b/include/spi.h @@ -272,6 +272,9 @@ int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen); int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, void *din, unsigned long flags); +/* Copy memory mapped data */ +void spi_flash_copy_mmap(void *data, void *offset, size_t len); + /** * Determine if a SPI chipselect is valid. * This function is provided by the board if the low-level SPI driver