diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-09-02 17:09:17 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-10-13 12:49:48 -0400 |
commit | 0e79671e13d12e44938f5caea83176706e56e7ca (patch) | |
tree | 99cd5c4724896e2fc2cf6d4a74fa633677074c4b /arch/arm | |
parent | 0020afb369859472a461ef4af6410732e929d402 (diff) |
ARM: mach-bcmring: remove mach/memory.h
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/include/mach/hardware.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/include/mach/memory.h | 28 |
3 files changed, 2 insertions, 30 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 564be51d32df..2dd0db697f66 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -324,6 +324,7 @@ config ARCH_BCMRING | |||
324 | select CLKDEV_LOOKUP | 324 | select CLKDEV_LOOKUP |
325 | select GENERIC_CLOCKEVENTS | 325 | select GENERIC_CLOCKEVENTS |
326 | select ARCH_WANT_OPTIONAL_GPIOLIB | 326 | select ARCH_WANT_OPTIONAL_GPIOLIB |
327 | select NO_MACH_MEMORY_H | ||
327 | help | 328 | help |
328 | Support for Broadcom's BCMRing platform. | 329 | Support for Broadcom's BCMRing platform. |
329 | 330 | ||
diff --git a/arch/arm/mach-bcmring/include/mach/hardware.h b/arch/arm/mach-bcmring/include/mach/hardware.h index ed78aabb8e9f..6ae20a649a97 100644 --- a/arch/arm/mach-bcmring/include/mach/hardware.h +++ b/arch/arm/mach-bcmring/include/mach/hardware.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #define __ASM_ARCH_HARDWARE_H | 22 | #define __ASM_ARCH_HARDWARE_H |
23 | 23 | ||
24 | #include <asm/sizes.h> | 24 | #include <asm/sizes.h> |
25 | #include <mach/memory.h> | ||
26 | #include <cfg_global.h> | 25 | #include <cfg_global.h> |
27 | #include <mach/csp/mm_io.h> | 26 | #include <mach/csp/mm_io.h> |
28 | 27 | ||
@@ -31,7 +30,7 @@ | |||
31 | * *_SIZE is the size of the region | 30 | * *_SIZE is the size of the region |
32 | * *_BASE is the virtual address | 31 | * *_BASE is the virtual address |
33 | */ | 32 | */ |
34 | #define RAM_START PLAT_PHYS_OFFSET | 33 | #define RAM_START PHYS_OFFSET |
35 | 34 | ||
36 | #define RAM_SIZE (CFG_GLOBAL_RAM_SIZE-CFG_GLOBAL_RAM_SIZE_RESERVED) | 35 | #define RAM_SIZE (CFG_GLOBAL_RAM_SIZE-CFG_GLOBAL_RAM_SIZE_RESERVED) |
37 | #define RAM_BASE PAGE_OFFSET | 36 | #define RAM_BASE PAGE_OFFSET |
diff --git a/arch/arm/mach-bcmring/include/mach/memory.h b/arch/arm/mach-bcmring/include/mach/memory.h deleted file mode 100644 index 8848a5bb3445..000000000000 --- a/arch/arm/mach-bcmring/include/mach/memory.h +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | /***************************************************************************** | ||
2 | * Copyright 2005 - 2008 Broadcom Corporation. All rights reserved. | ||
3 | * | ||
4 | * Unless you and Broadcom execute a separate written software license | ||
5 | * agreement governing use of this software, this software is licensed to you | ||
6 | * under the terms of the GNU General Public License version 2, available at | ||
7 | * http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). | ||
8 | * | ||
9 | * Notwithstanding the above, under no circumstances may you combine this | ||
10 | * software in any way with any other Broadcom software provided under a | ||
11 | * license other than the GPL, without Broadcom's express prior written | ||
12 | * consent. | ||
13 | *****************************************************************************/ | ||
14 | |||
15 | #ifndef __ASM_ARCH_MEMORY_H | ||
16 | #define __ASM_ARCH_MEMORY_H | ||
17 | |||
18 | #include <cfg_global.h> | ||
19 | |||
20 | /* | ||
21 | * Physical vs virtual RAM address space conversion. These are | ||
22 | * private definitions which should NOT be used outside memory.h | ||
23 | * files. Use virt_to_phys/phys_to_virt/__pa/__va instead. | ||
24 | */ | ||
25 | |||
26 | #define PLAT_PHYS_OFFSET CFG_GLOBAL_RAM_BASE | ||
27 | |||
28 | #endif | ||