[ARM] move asm/xip.h's mach/hardware.h include to mach/xip.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
6ce1b871db
commit
a02f45cfca
@@ -15,7 +15,6 @@
|
|||||||
#ifndef __ARM_MTD_XIP_H__
|
#ifndef __ARM_MTD_XIP_H__
|
||||||
#define __ARM_MTD_XIP_H__
|
#define __ARM_MTD_XIP_H__
|
||||||
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
#include <mach/mtd-xip.h>
|
#include <mach/mtd-xip.h>
|
||||||
|
|
||||||
/* fill instruction prefetch */
|
/* fill instruction prefetch */
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
#ifndef __ARCH_PXA_MTD_XIP_H__
|
#ifndef __ARCH_PXA_MTD_XIP_H__
|
||||||
#define __ARCH_PXA_MTD_XIP_H__
|
#define __ARCH_PXA_MTD_XIP_H__
|
||||||
|
|
||||||
|
#include <mach/hardware.h>
|
||||||
#include <mach/pxa-regs.h>
|
#include <mach/pxa-regs.h>
|
||||||
|
|
||||||
#define xip_irqpending() (ICIP & ICMR)
|
#define xip_irqpending() (ICIP & ICMR)
|
||||||
|
@@ -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) */
|
||||||
|
Reference in New Issue
Block a user