diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-08 09:48:21 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-04-13 11:45:17 +0200 |
commit | a44ec8bd2a55c7644d458d8e79d83bd9204e1796 (patch) | |
tree | 7dc54872be8441517012137389957efe0e0d3cc3 /arch/arc/kernel | |
parent | ARC: fold __builtin_constant_p() into test_bit() (diff) | |
download | linux-a44ec8bd2a55c7644d458d8e79d83bd9204e1796.tar.xz linux-a44ec8bd2a55c7644d458d8e79d83bd9204e1796.zip |
ARC: Fix RTT boot printing
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-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[] = { |