diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-05-14 13:46:08 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-14 14:35:37 -0400 |
commit | 27723ec4ec7fab52e4e14ec35391390b296cb9d0 (patch) | |
tree | a4a237161732f322c4a2c534a301a218220a6d49 /arch/arm | |
parent | 94bd32792e905ae25f63491f06d7d3018b350dd2 (diff) |
ARM: clps711x: Used own subarch directory for store header file
There is no reason to have the clps7111.h header in a globally
visible location, so move it to a place that is only visible when
building for mach-clps711x.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/clps711x.h (renamed from arch/arm/include/asm/hardware/clps7111.h) | 14 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/hardware.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/uncompress.h | 2 |
3 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/include/asm/hardware/clps7111.h b/arch/arm/mach-clps711x/include/mach/clps711x.h index 0998606920b1..3e0759122ba8 100644 --- a/arch/arm/include/asm/hardware/clps7111.h +++ b/arch/arm/mach-clps711x/include/mach/clps711x.h | |||
@@ -1,8 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/include/asm/hardware/clps7111.h | 2 | * This file contains the hardware definitions of the Cirrus Logic |
3 | * | 3 | * ARM7 CLPS711X internal registers. |
4 | * This file contains the hardware definitions of the CLPS7111 internal | ||
5 | * registers. | ||
6 | * | 4 | * |
7 | * Copyright (C) 2000 Deep Blue Solutions Ltd. | 5 | * Copyright (C) 2000 Deep Blue Solutions Ltd. |
8 | * | 6 | * |
@@ -20,8 +18,8 @@ | |||
20 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | */ | 20 | */ |
23 | #ifndef __ASM_HARDWARE_CLPS7111_H | 21 | #ifndef __MACH_CLPS711X_H |
24 | #define __ASM_HARDWARE_CLPS7111_H | 22 | #define __MACH_CLPS711X_H |
25 | 23 | ||
26 | #define CLPS711X_PHYS_BASE (0x80000000) | 24 | #define CLPS711X_PHYS_BASE (0x80000000) |
27 | 25 | ||
@@ -43,7 +41,7 @@ | |||
43 | #define INTSR1 (0x0240) | 41 | #define INTSR1 (0x0240) |
44 | #define INTMR1 (0x0280) | 42 | #define INTMR1 (0x0280) |
45 | #define LCDCON (0x02c0) | 43 | #define LCDCON (0x02c0) |
46 | #define TC1D (0x0300) | 44 | #define TC1D (0x0300) |
47 | #define TC2D (0x0340) | 45 | #define TC2D (0x0340) |
48 | #define RTCDR (0x0380) | 46 | #define RTCDR (0x0380) |
49 | #define RTCMR (0x03c0) | 47 | #define RTCMR (0x03c0) |
@@ -231,4 +229,4 @@ | |||
231 | #define SDCONF_CASLAT_2 (2) | 229 | #define SDCONF_CASLAT_2 (2) |
232 | #define SDCONF_CASLAT_3 (3) | 230 | #define SDCONF_CASLAT_3 (3) |
233 | 231 | ||
234 | #endif /* __ASM_HARDWARE_CLPS7111_H */ | 232 | #endif /* __MACH_CLPS711X_H */ |
diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index d31fc791f516..13a64fcd7dd1 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #ifndef __MACH_HARDWARE_H | 22 | #ifndef __MACH_HARDWARE_H |
23 | #define __MACH_HARDWARE_H | 23 | #define __MACH_HARDWARE_H |
24 | 24 | ||
25 | #include <asm/hardware/clps7111.h> | 25 | #include <mach/clps711x.h> |
26 | 26 | ||
27 | #define CLPS711X_VIRT_BASE IOMEM(0xff000000) | 27 | #define CLPS711X_VIRT_BASE IOMEM(0xff000000) |
28 | 28 | ||
diff --git a/arch/arm/mach-clps711x/include/mach/uncompress.h b/arch/arm/mach-clps711x/include/mach/uncompress.h index 263f8393ccb7..7b28d6a47690 100644 --- a/arch/arm/mach-clps711x/include/mach/uncompress.h +++ b/arch/arm/mach-clps711x/include/mach/uncompress.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | #include <asm/hardware/clps7111.h> | 20 | #include <mach/clps711x.h> |
21 | 21 | ||
22 | #ifdef CONFIG_DEBUG_CLPS711X_UART2 | 22 | #ifdef CONFIG_DEBUG_CLPS711X_UART2 |
23 | #define SYSFLGx SYSFLG2 | 23 | #define SYSFLGx SYSFLG2 |