diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-08 14:18:21 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-04-13 15:15:17 +0530 |
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) 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[] = { |