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
a44ec8bd
Commit
a44ec8bd
authored
Mar 08, 2015
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: Fix RTT boot printing
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
de60c1a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
arch/arc/include/asm/arcregs.h
arch/arc/include/asm/arcregs.h
+1
-0
arch/arc/kernel/setup.c
arch/arc/kernel/setup.c
+4
-1
No files found.
arch/arc/include/asm/arcregs.h
View file @
a44ec8bd
...
...
@@ -30,6 +30,7 @@
#define ARC_REG_D_UNCACH_BCR 0x6A
#define ARC_REG_BPU_BCR 0xc0
#define ARC_REG_ISA_CFG_BCR 0xc1
#define ARC_REG_RTT_BCR 0xF2
#define ARC_REG_SMART_BCR 0xFF
/* status32 Bits Positions */
...
...
arch/arc/kernel/setup.c
View file @
a44ec8bd
...
...
@@ -120,7 +120,10 @@ static void read_arc_build_cfg_regs(void)
READ_BCR
(
ARC_REG_SMART_BCR
,
bcr
);
cpu
->
extn
.
smart
=
bcr
.
ver
?
1
:
0
;
cpu
->
extn
.
debug
=
cpu
->
extn
.
ap
|
cpu
->
extn
.
smart
;
READ_BCR
(
ARC_REG_RTT_BCR
,
bcr
);
cpu
->
extn
.
rtt
=
bcr
.
ver
?
1
:
0
;
cpu
->
extn
.
debug
=
cpu
->
extn
.
ap
|
cpu
->
extn
.
smart
|
cpu
->
extn
.
rtt
;
}
static
const
struct
cpuinfo_data
arc_cpu_tbl
[]
=
{
...
...
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