aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-11 10:18:22 -0400
committerArnd Bergmann <arnd@arndb.de>2012-05-11 10:18:22 -0400
commit86822f816fc9a42fd210e35d4881e988406497c0 (patch)
tree3bed5cb7891ef73eea4c58bdf105b98f4ff77a4a /arch/arm/include
parentd211093fbad99e6c38e168f71ca2ede64a51fe58 (diff)
parent304b2c684e42af5b72d643322f783d88538dc817 (diff)
Merge branch 'clps711x/cleanup' into next/cleanup
A single patch from Alexander Shiyan <shc_work@mail.ru>: * clps711x/cleanup: ARM: clps711x: Using a single definition for the PHYS and VIRT registers offset Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/hardware/clps7111.h11
-rw-r--r--arch/arm/include/asm/hardware/ep7211.h9
-rw-r--r--arch/arm/include/asm/hardware/ep7212.h12
3 files changed, 1 insertions, 31 deletions
diff --git a/arch/arm/include/asm/hardware/clps7111.h b/arch/arm/include/asm/hardware/clps7111.h
index 44477225aed6..78e2856b06dc 100644
--- a/arch/arm/include/asm/hardware/clps7111.h
+++ b/arch/arm/include/asm/hardware/clps7111.h
@@ -23,16 +23,7 @@
23#ifndef __ASM_HARDWARE_CLPS7111_H 23#ifndef __ASM_HARDWARE_CLPS7111_H
24#define __ASM_HARDWARE_CLPS7111_H 24#define __ASM_HARDWARE_CLPS7111_H
25 25
26#define CLPS7111_PHYS_BASE (0x80000000) 26#define CLPS711X_PHYS_BASE (0x80000000)
27
28#ifndef __ASSEMBLY__
29#define clps_readb(off) __raw_readb(CLPS7111_BASE + (off))
30#define clps_readw(off) __raw_readw(CLPS7111_BASE + (off))
31#define clps_readl(off) __raw_readl(CLPS7111_BASE + (off))
32#define clps_writeb(val,off) __raw_writeb(val, CLPS7111_BASE + (off))
33#define clps_writew(val,off) __raw_writew(val, CLPS7111_BASE + (off))
34#define clps_writel(val,off) __raw_writel(val, CLPS7111_BASE + (off))
35#endif
36 27
37#define PADR (0x0000) 28#define PADR (0x0000)
38#define PBDR (0x0001) 29#define PBDR (0x0001)
diff --git a/arch/arm/include/asm/hardware/ep7211.h b/arch/arm/include/asm/hardware/ep7211.h
index 654d5f625c49..4b3f86bf1bfc 100644
--- a/arch/arm/include/asm/hardware/ep7211.h
+++ b/arch/arm/include/asm/hardware/ep7211.h
@@ -23,15 +23,6 @@
23#ifndef __ASM_HARDWARE_EP7211_H 23#ifndef __ASM_HARDWARE_EP7211_H
24#define __ASM_HARDWARE_EP7211_H 24#define __ASM_HARDWARE_EP7211_H
25 25
26#include <asm/hardware/clps7111.h>
27
28/*
29 * define EP7211_BASE to be the base address of the region
30 * you want to access.
31 */
32
33#define EP7211_PHYS_BASE (0x80000000)
34
35/* 26/*
36 * XXX miket@bluemug.com: need to introduce EP7211 registers (those not 27 * XXX miket@bluemug.com: need to introduce EP7211 registers (those not
37 * present in 7212) here. 28 * present in 7212) here.
diff --git a/arch/arm/include/asm/hardware/ep7212.h b/arch/arm/include/asm/hardware/ep7212.h
index 3b43bbeaf1db..aad07f77dcff 100644
--- a/arch/arm/include/asm/hardware/ep7212.h
+++ b/arch/arm/include/asm/hardware/ep7212.h
@@ -24,18 +24,6 @@
24#define __ASM_HARDWARE_EP7212_H 24#define __ASM_HARDWARE_EP7212_H
25 25
26/* 26/*
27 * define EP7212_BASE to be the base address of the region
28 * you want to access.
29 */
30
31#define EP7212_PHYS_BASE (0x80000000)
32
33#ifndef __ASSEMBLY__
34#define ep_readl(off) __raw_readl(EP7212_BASE + (off))
35#define ep_writel(val,off) __raw_writel(val, EP7212_BASE + (off))
36#endif
37
38/*
39 * These registers are specific to the EP7212 only 27 * These registers are specific to the EP7212 only
40 */ 28 */
41#define DAIR 0x2000 29#define DAIR 0x2000