]> err.no Git - linux-2.6/blobdiff - drivers/mtd/chips/cfi_util.c
spi: fix the read path in spidev
[linux-2.6] / drivers / mtd / chips / cfi_util.c
index 2e51496c248e0b718273ec3715d5c16b2c689ff8..72e0022a47bf50e360686068b66e6d52dbe895a6 100644 (file)
@@ -65,7 +65,7 @@ __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* n
 
 #ifdef CONFIG_MTD_XIP
        (void) map_read(map, base);
-       asm volatile (".rep 8; nop; .endr");
+       xip_iprefetch();
        local_irq_enable();
 #endif