diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-08 04:48:21 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-04-13 05:45:17 -0400 |
commit | a44ec8bd2a55c7644d458d8e79d83bd9204e1796 (patch) | |
tree | 7dc54872be8441517012137389957efe0e0d3cc3 /arch/arc/kernel/setup.c | |
parent | de60c1a1849c57e864f02f0d921993982b1648f8 (diff) |
ARC: Fix RTT boot printing
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/setup.c')
-rw-r--r-- | arch/arc/kernel/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 900f68a70088..1d167c6df8ca 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c | |||
@@ -120,7 +120,10 @@ static void read_arc_build_cfg_regs(void) | |||
120 | READ_BCR(ARC_REG_SMART_BCR, bcr); | 120 | READ_BCR(ARC_REG_SMART_BCR, bcr); |
121 | cpu->extn.smart = bcr.ver ? 1 : 0; | 121 | cpu->extn.smart = bcr.ver ? 1 : 0; |
122 | 122 | ||
123 | cpu->extn.debug = cpu->extn.ap | cpu->extn.smart; | 123 | READ_BCR(ARC_REG_RTT_BCR, bcr); |
124 | cpu->extn.rtt = bcr.ver ? 1 : 0; | ||
125 | |||
126 | cpu->extn.debug = cpu->extn.ap | cpu->extn.smart | cpu->extn.rtt; | ||
124 | } | 127 | } |
125 | 128 | ||
126 | static const struct cpuinfo_data arc_cpu_tbl[] = { | 129 | static const struct cpuinfo_data arc_cpu_tbl[] = { |