diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-09-03 03:18:52 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-10-13 18:49:50 +0200 |
commit | 17dea45adbd2c2df726699b25e2ddf8916d5eb87 (patch) | |
tree | 953a339808ae8aa4d8dd851efda872a5b8e10b23 /arch/arm/mach-prima2/l2x0.c | |
parent | ARM: mach-zynq: remove mach/memory.h (diff) | |
download | linux-17dea45adbd2c2df726699b25e2ddf8916d5eb87.tar.xz linux-17dea45adbd2c2df726699b25e2ddf8916d5eb87.zip |
ARM: mach-prima2: remove mach/memory.h
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-prima2/l2x0.c')
-rw-r--r-- | arch/arm/mach-prima2/l2x0.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-prima2/l2x0.c b/arch/arm/mach-prima2/l2x0.c index 9cda2057bcfb..66c6387e5a04 100644 --- a/arch/arm/mach-prima2/l2x0.c +++ b/arch/arm/mach-prima2/l2x0.c @@ -13,7 +13,6 @@ #include <linux/of.h> #include <linux/of_address.h> #include <asm/hardware/cache-l2x0.h> -#include <mach/memory.h> #define L2X0_ADDR_FILTERING_START 0xC00 #define L2X0_ADDR_FILTERING_END 0xC04 @@ -41,9 +40,9 @@ static int __init sirfsoc_of_l2x_init(void) /* * set the physical memory windows L2 cache will cover */ - writel_relaxed(PLAT_PHYS_OFFSET + 1024 * 1024 * 1024, + writel_relaxed(PHYS_OFFSET + 1024 * 1024 * 1024, sirfsoc_l2x_base + L2X0_ADDR_FILTERING_END); - writel_relaxed(PLAT_PHYS_OFFSET | 0x1, + writel_relaxed(PHYS_OFFSET | 0x1, sirfsoc_l2x_base + L2X0_ADDR_FILTERING_START); writel_relaxed(0, |