diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-07-05 22:52:57 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-10-13 12:49:47 -0400 |
commit | f4220feb35e39dc3963f27dcce48b4dea398a83b (patch) | |
tree | ebba635b85c6cc2920895185c536a315fceb222b /arch | |
parent | 3bc465aab08f382a3005aa56296a3f7a549f379f (diff) |
ARM: mach-pxa: remove mach/memory.h
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/memory.h | 20 | ||||
-rw-r--r-- | arch/arm/mach-pxa/z2.c | 2 |
3 files changed, 2 insertions, 21 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 30ced8d7282c..f7041031bb1f 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -658,6 +658,7 @@ config ARCH_PXA | |||
658 | select SPARSE_IRQ | 658 | select SPARSE_IRQ |
659 | select AUTO_ZRELADDR | 659 | select AUTO_ZRELADDR |
660 | select MULTI_IRQ_HANDLER | 660 | select MULTI_IRQ_HANDLER |
661 | select NO_MACH_MEMORY_H | ||
661 | help | 662 | help |
662 | Support for Intel/Marvell's PXA2xx/PXA3xx processor line. | 663 | Support for Intel/Marvell's PXA2xx/PXA3xx processor line. |
663 | 664 | ||
diff --git a/arch/arm/mach-pxa/include/mach/memory.h b/arch/arm/mach-pxa/include/mach/memory.h deleted file mode 100644 index d05a59727d66..000000000000 --- a/arch/arm/mach-pxa/include/mach/memory.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-pxa/include/mach/memory.h | ||
3 | * | ||
4 | * Author: Nicolas Pitre | ||
5 | * Copyright: (C) 2001 MontaVista Software Inc. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef __ASM_ARCH_MEMORY_H | ||
13 | #define __ASM_ARCH_MEMORY_H | ||
14 | |||
15 | /* | ||
16 | * Physical DRAM offset. | ||
17 | */ | ||
18 | #define PLAT_PHYS_OFFSET UL(0xa0000000) | ||
19 | |||
20 | #endif | ||
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c index 65fed3753fa2..84ed72de53b5 100644 --- a/arch/arm/mach-pxa/z2.c +++ b/arch/arm/mach-pxa/z2.c | |||
@@ -686,7 +686,7 @@ static void z2_power_off(void) | |||
686 | */ | 686 | */ |
687 | PSPR = 0x0; | 687 | PSPR = 0x0; |
688 | local_irq_disable(); | 688 | local_irq_disable(); |
689 | pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PLAT_PHYS_OFFSET - PAGE_OFFSET); | 689 | pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PHYS_OFFSET - PAGE_OFFSET); |
690 | } | 690 | } |
691 | #else | 691 | #else |
692 | #define z2_power_off NULL | 692 | #define z2_power_off NULL |