Go to the documentation of this file.
15 #ifndef __ARCH_PXA_MTD_XIP_H__
16 #define __ARCH_PXA_MTD_XIP_H__
18 #include <mach/regs-ost.h>
20 #define xip_irqpending() (ICIP & ICMR)
23 #define xip_currtime() (OSCR)
24 #define xip_elapsed_since(x) (signed)((OSCR - (x)) / 4)
33 #define xip_cpu_idle() asm volatile ("mcr p14, 0, %0, c7, c0, 0" :: "r" (1))