Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
17dea45a
Commit
17dea45a
authored
Sep 02, 2011
by
Nicolas Pitre
Committed by
Nicolas Pitre
Oct 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: mach-prima2: remove mach/memory.h
Signed-off-by:
Nicolas Pitre
<
nicolas.pitre@linaro.org
>
parent
f431eb69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
17 deletions
+3
-17
arch/arm/Kconfig
arch/arm/Kconfig
+1
-0
arch/arm/mach-prima2/include/mach/memory.h
arch/arm/mach-prima2/include/mach/memory.h
+0
-14
arch/arm/mach-prima2/l2x0.c
arch/arm/mach-prima2/l2x0.c
+2
-3
No files found.
arch/arm/Kconfig
View file @
17dea45a
...
...
@@ -365,6 +365,7 @@ config ARCH_PRIMA2
select GENERIC_IRQ_CHIP
select USE_OF
select ZONE_DMA
select NO_MACH_MEMORY_H
help
Support for CSR SiRFSoC ARM Cortex A9 Platform
...
...
arch/arm/mach-prima2/include/mach/memory.h
deleted
100644 → 0
View file @
f431eb69
/*
* arch/arm/mach-prima2/include/mach/memory.h
*
* Copyright (c) 2010 – 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H
#define PLAT_PHYS_OFFSET UL(0x00000000)
#endif
arch/arm/mach-prima2/l2x0.c
View file @
17dea45a
...
...
@@ -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
(
P
LAT_P
HYS_OFFSET
+
1024
*
1024
*
1024
,
writel_relaxed
(
PHYS_OFFSET
+
1024
*
1024
*
1024
,
sirfsoc_l2x_base
+
L2X0_ADDR_FILTERING_END
);
writel_relaxed
(
P
LAT_P
HYS_OFFSET
|
0x1
,
writel_relaxed
(
PHYS_OFFSET
|
0x1
,
sirfsoc_l2x_base
+
L2X0_ADDR_FILTERING_START
);
writel_relaxed
(
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment