|
@@ -15,6 +15,8 @@
|
|
#ifndef __ARCH_SA1100_MTD_XIP_H__
|
|
#ifndef __ARCH_SA1100_MTD_XIP_H__
|
|
#define __ARCH_SA1100_MTD_XIP_H__
|
|
#define __ARCH_SA1100_MTD_XIP_H__
|
|
|
|
|
|
|
|
+#include <mach/hardware.h>
|
|
|
|
+
|
|
#define xip_irqpending() (ICIP & ICMR)
|
|
#define xip_irqpending() (ICIP & ICMR)
|
|
|
|
|
|
/* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */
|
|
/* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */
|