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
d660474e
Commit
d660474e
authored
Jun 09, 2011
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote branch 'kumar/merge' into merge
parents
43d795c6
704102a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
arch/powerpc/include/asm/rio.h
arch/powerpc/include/asm/rio.h
+1
-1
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/cputable.c
+1
-1
arch/powerpc/sysdev/fsl_lbc.c
arch/powerpc/sysdev/fsl_lbc.c
+3
-3
No files found.
arch/powerpc/include/asm/rio.h
View file @
d660474e
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#define ASM_PPC_RIO_H
#define ASM_PPC_RIO_H
extern
void
platform_rio_init
(
void
);
extern
void
platform_rio_init
(
void
);
#ifdef CONFIG_
RAPID
IO
#ifdef CONFIG_
FSL_R
IO
extern
int
fsl_rio_mcheck_exception
(
struct
pt_regs
*
);
extern
int
fsl_rio_mcheck_exception
(
struct
pt_regs
*
);
#else
#else
static
inline
int
fsl_rio_mcheck_exception
(
struct
pt_regs
*
regs
)
{
return
0
;
}
static
inline
int
fsl_rio_mcheck_exception
(
struct
pt_regs
*
regs
)
{
return
0
;
}
...
...
arch/powerpc/kernel/cputable.c
View file @
d660474e
...
@@ -1979,7 +1979,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
...
@@ -1979,7 +1979,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.
pvr_value
=
0x80240000
,
.
pvr_value
=
0x80240000
,
.
cpu_name
=
"e5500"
,
.
cpu_name
=
"e5500"
,
.
cpu_features
=
CPU_FTRS_E5500
,
.
cpu_features
=
CPU_FTRS_E5500
,
.
cpu_user_features
=
COMMON_USER_BOOKE
,
.
cpu_user_features
=
COMMON_USER_BOOKE
|
PPC_FEATURE_HAS_FPU
,
.
mmu_features
=
MMU_FTR_TYPE_FSL_E
|
MMU_FTR_BIG_PHYS
|
.
mmu_features
=
MMU_FTR_TYPE_FSL_E
|
MMU_FTR_BIG_PHYS
|
MMU_FTR_USE_TLBILX
,
MMU_FTR_USE_TLBILX
,
.
icache_bsize
=
64
,
.
icache_bsize
=
64
,
...
...
arch/powerpc/sysdev/fsl_lbc.c
View file @
d660474e
...
@@ -196,9 +196,6 @@ static int __devinit fsl_lbc_ctrl_init(struct fsl_lbc_ctrl *ctrl,
...
@@ -196,9 +196,6 @@ static int __devinit fsl_lbc_ctrl_init(struct fsl_lbc_ctrl *ctrl,
out_be32
(
&
lbc
->
lteccr
,
LTECCR_CLEAR
);
out_be32
(
&
lbc
->
lteccr
,
LTECCR_CLEAR
);
out_be32
(
&
lbc
->
ltedr
,
LTEDR_ENABLE
);
out_be32
(
&
lbc
->
ltedr
,
LTEDR_ENABLE
);
/* Enable interrupts for any detected events */
out_be32
(
&
lbc
->
lteir
,
LTEIR_ENABLE
);
/* Set the monitor timeout value to the maximum for erratum A001 */
/* Set the monitor timeout value to the maximum for erratum A001 */
if
(
of_device_is_compatible
(
node
,
"fsl,elbc"
))
if
(
of_device_is_compatible
(
node
,
"fsl,elbc"
))
clrsetbits_be32
(
&
lbc
->
lbcr
,
LBCR_BMT
,
LBCR_BMTPS
);
clrsetbits_be32
(
&
lbc
->
lbcr
,
LBCR_BMT
,
LBCR_BMTPS
);
...
@@ -322,6 +319,9 @@ static int __devinit fsl_lbc_ctrl_probe(struct platform_device *dev)
...
@@ -322,6 +319,9 @@ static int __devinit fsl_lbc_ctrl_probe(struct platform_device *dev)
goto
err
;
goto
err
;
}
}
/* Enable interrupts for any detected events */
out_be32
(
&
fsl_lbc_ctrl_dev
->
regs
->
lteir
,
LTEIR_ENABLE
);
return
0
;
return
0
;
err:
err:
...
...
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