diff options
author | Thomas Gleixner <tglx@tglx.tec.linutronix.de> | 2005-07-07 10:50:16 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-07-07 10:50:16 -0400 |
commit | 97f927a4d7dbccde0a854a62c3ea54d90bae8679 (patch) | |
tree | d571cdae6507be90d4ee67d4937b765e2b332d77 /drivers/mtd/chips/cfi_cmdset_0001.c | |
parent | b9c86d595d2a11009c58c84a9a8792aeb4a8f278 (diff) |
[MTD] XIP cleanup
Move the architecture dependend code into include/asm/mtd-xip.h
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/chips/cfi_cmdset_0001.c')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 2 |
1 files changed, 1 insertions, 1 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 | ||