[MTD] XIP cleanup
Move the architecture dependend code into include/asm/mtd-xip.h Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
此提交包含在:
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -600,7 +600,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();
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者