[MTD] XIP cleanup
[deliverable/linux.git] / drivers / mtd / chips / cfi_cmdset_0001.c
index 8b1304531d8f13dfdb69a4d3b9881df7450b17c6..0cfcd88468e0ed3c2db5da780bc3d7e428c3ab3c 100644 (file)
@@ -845,7 +845,7 @@ static void __xipram xip_enable(struct map_info *map, struct flchip *chip,
                chip->state = FL_READY;
        }
        (void) map_read(map, adr);
-       asm volatile (".rep 8; nop; .endr"); /* fill instruction prefetch */
+       xip_iprefetch();
        local_irq_enable();
 }
 
This page took 0.028246 seconds and 5 git commands to generate.