diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-10 06:13:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-02 12:40:27 -0500 |
commit | bcbbf908e3c6d60f8efb7e2e8f09285bbda9e11e (patch) | |
tree | a8c3bfcf22d491f97d7aecd19bfc5348269b6839 /arch/arm/mach-ebsa110/core.h | |
parent | 62aa2b537c6f5957afd98e29f96897419ed5ebab (diff) |
ARM: ebsa110: move platform definitions out of mach/hardware.h
Stop exposing platform definitions to the entire kernel tree, move
them into a private header file instead.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ebsa110/core.h')
-rw-r--r-- | arch/arm/mach-ebsa110/core.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/mach-ebsa110/core.h b/arch/arm/mach-ebsa110/core.h new file mode 100644 index 000000000000..61f675426eb8 --- /dev/null +++ b/arch/arm/mach-ebsa110/core.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * Copyright (C) 1996-2000 Russell King. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This file contains the core hardware definitions of the EBSA-110. | ||
9 | */ | ||
10 | #ifndef CORE_H | ||
11 | #define CORE_H | ||
12 | |||
13 | /* Physical addresses/sizes */ | ||
14 | #define ISAMEM_PHYS 0xe0000000 | ||
15 | #define ISAMEM_SIZE 0x10000000 | ||
16 | |||
17 | #define ISAIO_PHYS 0xf0000000 | ||
18 | #define ISAIO_SIZE PGDIR_SIZE | ||
19 | |||
20 | #define TRICK0_PHYS 0xf2000000 | ||
21 | #define TRICK1_PHYS 0xf2400000 | ||
22 | #define TRICK2_PHYS 0xf2800000 | ||
23 | #define TRICK3_PHYS 0xf2c00000 | ||
24 | #define TRICK4_PHYS 0xf3000000 | ||
25 | #define TRICK5_PHYS 0xf3400000 | ||
26 | #define TRICK6_PHYS 0xf3800000 | ||
27 | #define TRICK7_PHYS 0xf3c00000 | ||
28 | |||
29 | /* Virtual addresses */ | ||
30 | #define PIT_BASE 0xfc000000 /* trick 0 */ | ||
31 | #define SOFT_BASE 0xfd000000 /* trick 1 */ | ||
32 | #define IRQ_MASK 0xfe000000 /* trick 3 - read */ | ||
33 | #define IRQ_MSET 0xfe000000 /* trick 3 - write */ | ||
34 | #define IRQ_STAT 0xff000000 /* trick 4 - read */ | ||
35 | #define IRQ_MCLR 0xff000000 /* trick 4 - write */ | ||
36 | |||
37 | #endif | ||