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
Kirill Smelkov
linux
Commits
a03d8b1e
Commit
a03d8b1e
authored
Aug 04, 2012
by
Haojian Zhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: mmp: enable tauros2 cache in pxa910
Signed-off-by:
Haojian Zhuang
<
haojian.zhuang@gmail.com
>
parent
c2b7e05c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
arch/arm/boot/dts/pxa910.dtsi
arch/arm/boot/dts/pxa910.dtsi
+5
-0
arch/arm/mach-mmp/pxa910.c
arch/arm/mach-mmp/pxa910.c
+4
-0
No files found.
arch/arm/boot/dts/pxa910.dtsi
View file @
a03d8b1e
...
@@ -25,6 +25,11 @@ soc {
...
@@ -25,6 +25,11 @@ soc {
interrupt-parent = <&intc>;
interrupt-parent = <&intc>;
ranges;
ranges;
L2: l2-cache {
compatible = "marvell,tauros2-cache";
marvell,tauros2-cache-features = <0x3>;
};
axi@d4200000 { /* AXI */
axi@d4200000 { /* AXI */
compatible = "mrvl,axi-bus", "simple-bus";
compatible = "mrvl,axi-bus", "simple-bus";
#address-cells = <1>;
#address-cells = <1>;
...
...
arch/arm/mach-mmp/pxa910.c
View file @
a03d8b1e
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
#include <linux/io.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>
#include <asm/hardware/cache-tauros2.h>
#include <asm/mach/time.h>
#include <asm/mach/time.h>
#include <mach/addr-map.h>
#include <mach/addr-map.h>
#include <mach/regs-apbc.h>
#include <mach/regs-apbc.h>
...
@@ -116,6 +117,9 @@ static struct clk_lookup pxa910_clkregs[] = {
...
@@ -116,6 +117,9 @@ static struct clk_lookup pxa910_clkregs[] = {
static
int
__init
pxa910_init
(
void
)
static
int
__init
pxa910_init
(
void
)
{
{
if
(
cpu_is_pxa910
())
{
if
(
cpu_is_pxa910
())
{
#ifdef CONFIG_CACHE_TAUROS2
tauros2_init
(
0
);
#endif
mfp_init_base
(
MFPR_VIRT_BASE
);
mfp_init_base
(
MFPR_VIRT_BASE
);
mfp_init_addr
(
pxa910_mfp_addr_map
);
mfp_init_addr
(
pxa910_mfp_addr_map
);
pxa_init_dma
(
IRQ_PXA910_DMA_INT0
,
32
);
pxa_init_dma
(
IRQ_PXA910_DMA_INT0
,
32
);
...
...
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