diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 2 | ||||
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0002.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c index 8b1304531d8f..0cfcd88468e0 100644 --- a/drivers/mtd/chips/cfi_cmdset_0001.c +++ b/drivers/mtd/chips/cfi_cmdset_0001.c | |||
@@ -845,7 +845,7 @@ static void __xipram xip_enable(struct map_info *map, struct flchip *chip, | |||
845 | chip->state = FL_READY; | 845 | chip->state = FL_READY; |
846 | } | 846 | } |
847 | (void) map_read(map, adr); | 847 | (void) map_read(map, adr); |
848 | asm volatile (".rep 8; nop; .endr"); /* fill instruction prefetch */ | 848 | xip_iprefetch(); |
849 | local_irq_enable(); | 849 | local_irq_enable(); |
850 | } | 850 | } |
851 | 851 | ||
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c index c76c30de48fb..8505f118f2db 100644 --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | |||
@@ -600,7 +600,7 @@ static void __xipram xip_enable(struct map_info *map, struct flchip *chip, | |||
600 | chip->state = FL_READY; | 600 | chip->state = FL_READY; |
601 | } | 601 | } |
602 | (void) map_read(map, adr); | 602 | (void) map_read(map, adr); |
603 | asm volatile (".rep 8; nop; .endr"); /* fill instruction prefetch */ | 603 | xip_iprefetch(); |
604 | local_irq_enable(); | 604 | local_irq_enable(); |
605 | } | 605 | } |
606 | 606 | ||